aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorMelike Yurtoglu <aysemelikeyurtoglu@gmail.com>2014-10-02 11:13:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-02 09:39:33 -0700
commitaff6de0519e4b2432a187063b8acf52dc78e0444 (patch)
tree102cd679c3987bc0570a763bc24597db31094751 /drivers/staging
parentStaging: unisys: Add missing blank line (diff)
downloadlinux-dev-aff6de0519e4b2432a187063b8acf52dc78e0444.tar.xz
linux-dev-aff6de0519e4b2432a187063b8acf52dc78e0444.zip
staging: unisys: common-spar: Fix missing blank line warning
Fixes "Missing a blank line after declarations" checkpatch.pl warning Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/unisys/common-spar/include/channels/channel.h2
1 files changed, 2 insertions, 0 deletions
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,