From: Benjamin Romer Date: Tue, 5 Aug 2014 18:57:54 +0000 (-0400) Subject: staging: unisys: fix spacing in vbusdeviceinfo.h X-Git-Tag: firefly_0821_release~176^2~3121^2~1395 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=11c4eba1ad4174512c8b8a682c3d41f97d286611;p=firefly-linux-kernel-4.4.55.git staging: unisys: fix spacing in vbusdeviceinfo.h There was a missing line between declarations and code in vbusdeviceinfo.h. Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h b/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h index 54593c11e70e..3bbdc2bb7ebf 100644 --- a/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h +++ b/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h @@ -54,6 +54,7 @@ vbuschannel_sanitize_buffer(char *p, int remain, char *src, int srcmax) { int chars = 0; int nonprintable_streak = 0; + while (srcmax > 0) { if ((*src >= ' ') && (*src < 0x7f)) { if (nonprintable_streak) {