lkml.org 
[lkml]   [2011]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [TRIVIAL PATCH] treewide: Cleanup continuations and remove logging message whitespace
On Sat, 23 Apr 2011 20:38:19 -0700 Joe Perches wrote:

> Using C line continuation inside format strings is error prone.
> Clean up the unintended whitespace introduced by misuse of \.
> Neaten correctly used line continations as well for consistency.
>
> drivers/scsi/arcmsr/arcmsr_hba.c has these errors as well,
> but arcmsr needs a lot more work and the driver should likely be
> moved to staging instead.
>
> Signed-off-by: Joe Perches <joe@perches.com>

Acked-by: Randy Dunlap <randy.dunlap@oracle.com>

> ---
> arch/arm/plat-mxc/cpufreq.c | 4 +-
> drivers/dma/dmatest.c | 4 +-
> drivers/firmware/iscsi_ibft.c | 4 +-
> drivers/gpio/ab8500-gpio.c | 7 ++---
> drivers/media/video/usbvision/usbvision-video.c | 5 ++-
> drivers/message/fusion/mptbase.c | 22 ++++++++----------
> drivers/misc/bh1780gli.c | 8 +++---
> drivers/misc/spear13xx_pcie_gadget.c | 4 +-
> drivers/net/atlx/atl1.c | 5 ++-
> drivers/net/wireless/airo.c | 27 ++++++++++++-----------
> drivers/net/wireless/iwlegacy/iwl-4965-calib.c | 4 +-
> drivers/net/wireless/iwlwifi/iwl-agn-calib.c | 4 +-
> drivers/regulator/max8998.c | 4 +-
> drivers/tty/serial/bfin_sport_uart.c | 3 +-
> drivers/tty/serial/mfd.c | 4 +-
> drivers/usb/host/uhci-hcd.c | 7 +++--
> drivers/usb/storage/ene_ub6250.c | 4 +-
> 17 files changed, 60 insertions(+), 60 deletions(-)


Joe,
Is there a decent fix for this warning in linux-next:

drivers/tty/n_gsm.c:535: warning: zero-length gnu_printf format string

thanks,
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***


\
 
 \ /
  Last update: 2011-04-25 17:25    [W:2.177 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site