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: v5.15~17125^2~95 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aff6de0519e4b2432a187063b8acf52dc78e0444;p=platform%2Fkernel%2Flinux-starfive.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 4af9457..c25dfbf 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,