Staging: lustre: Add blank line after declarations
PATCH 1/1 Staging: lustre: Add blank line after declarations
The following patch fixes the checkpatch.pl warning:drivers/staging/lustre/lustre/ptlrpc/pinger.c WARNING: Missing a blank line after declarations
Signed-off-by Dilek Uzulmez <[email protected]>
--- drivers/staging/lustre/lustre/ptlrpc/pinger.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/staging/lustre/lustre/ptlrpc/pinger.c +2 -0
@@ -113,6 +113,7 @@ int ptlrpc_ping(struct obd_import *imp)void ptlrpc_update_next_ping (struct obd_import *imp,int soon) {int time = soon ?PING_INTERVAL_SHORT :PING_INTERVAL ; +if (imp->imp_state ==LUSTRE_IMP_DISCON ) { int dtime = max_t(int, CONNECTION_SWITCH_MIN, AT_OFF ? 0 :
@@ -150,6 +151,7 @@ long pinger_check_timeout(unsigned long time)mutex_lock (&pinger_mutex);list_for_each_entry (item, &timeout_list, ti_chain) {int ti_timeout = item->ti_timeout; +if (timeout > ti_timeout) timeout = ti_timeout;break ;
Signature · 1 line
1.9.1