From: Melike Yurtoglu Date: Thu, 2 Oct 2014 08:13:53 +0000 (+0300) Subject: staging: unisys: common-spar: Fix missing blank line warning X-Git-Tag: v3.18-rc1~130^2~95 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aff6de0519e4b2432a187063b8acf52dc78e0444;p=karo-tx-linux.git staging: unisys: common-spar: Fix missing blank line warning Fixes "Missing a blank line after declarations" checkpatch.pl warning Signed-off-by: Melike Yurtoglu Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/common-spar/include/channels/channel.h b/drivers/staging/unisys/common-spar/include/channels/channel.h index 4af9457ac3a7..c25dfbf7f6bc 100644 --- a/drivers/staging/unisys/common-spar/include/channels/channel.h +++ b/drivers/staging/unisys/common-spar/include/channels/channel.h @@ -434,6 +434,7 @@ PathName_Last_N_Nodes(u8 *s, unsigned int n) { u8 *p = s; unsigned int node_count = 0; + while (*p != '\0') { if ((*p == '/') || (*p == '\\')) node_count++; @@ -577,6 +578,7 @@ ULTRA_channel_client_release_os(void __iomem *pChannel, u8 *chanId, void *logCtx, char *file, int line, char *func) { CHANNEL_HEADER __iomem *pChan = pChannel; + if (readb(&pChan->CliErrorOS) != 0) { /* we are in an error msg throttling state; come out of it */ UltraLogEvent(logCtx, CHANNELSTATE_DIAG_EVENTID_TRANSITOK,