Commit 85ee7a1d authored by Joe Perches's avatar Joe Perches Committed by Jiri Kosina

treewide: cleanup continuations and remove logging message whitespace

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: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 07f9479a
...@@ -153,8 +153,8 @@ static int __init mxc_cpufreq_init(struct cpufreq_policy *policy) ...@@ -153,8 +153,8 @@ static int __init mxc_cpufreq_init(struct cpufreq_policy *policy)
ret = cpufreq_frequency_table_cpuinfo(policy, imx_freq_table); ret = cpufreq_frequency_table_cpuinfo(policy, imx_freq_table);
if (ret < 0) { if (ret < 0) {
printk(KERN_ERR "%s: failed to register i.MXC CPUfreq \ printk(KERN_ERR "%s: failed to register i.MXC CPUfreq with error code %d\n",
with error code %d\n", __func__, ret); __func__, ret);
goto err; goto err;
} }
......
...@@ -56,8 +56,8 @@ MODULE_PARM_DESC(pq_sources, ...@@ -56,8 +56,8 @@ MODULE_PARM_DESC(pq_sources,
static int timeout = 3000; static int timeout = 3000;
module_param(timeout, uint, S_IRUGO); module_param(timeout, uint, S_IRUGO);
MODULE_PARM_DESC(timeout, "Transfer Timeout in msec (default: 3000), \ MODULE_PARM_DESC(timeout, "Transfer Timeout in msec (default: 3000), "
Pass -1 for infinite timeout"); "Pass -1 for infinite timeout");
/* /*
* Initialization patterns. All bytes in the source buffer has bit 7 * Initialization patterns. All bytes in the source buffer has bit 7
......
...@@ -87,8 +87,8 @@ ...@@ -87,8 +87,8 @@
#define IBFT_ISCSI_VERSION "0.5.0" #define IBFT_ISCSI_VERSION "0.5.0"
#define IBFT_ISCSI_DATE "2010-Feb-25" #define IBFT_ISCSI_DATE "2010-Feb-25"
MODULE_AUTHOR("Peter Jones <pjones@redhat.com> and \ MODULE_AUTHOR("Peter Jones <pjones@redhat.com> and "
Konrad Rzeszutek <ketuzsezr@darnok.org>"); "Konrad Rzeszutek <ketuzsezr@darnok.org>");
MODULE_DESCRIPTION("sysfs interface to BIOS iBFT information"); MODULE_DESCRIPTION("sysfs interface to BIOS iBFT information");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_VERSION(IBFT_ISCSI_VERSION); MODULE_VERSION(IBFT_ISCSI_VERSION);
......
...@@ -482,8 +482,8 @@ static int __devexit ab8500_gpio_remove(struct platform_device *pdev) ...@@ -482,8 +482,8 @@ static int __devexit ab8500_gpio_remove(struct platform_device *pdev)
ret = gpiochip_remove(&ab8500_gpio->chip); ret = gpiochip_remove(&ab8500_gpio->chip);
if (ret < 0) { if (ret < 0) {
dev_err(ab8500_gpio->dev, "unable to remove gpiochip:\ dev_err(ab8500_gpio->dev, "unable to remove gpiochip: %d\n",
%d\n", ret); ret);
return ret; return ret;
} }
...@@ -516,7 +516,6 @@ static void __exit ab8500_gpio_exit(void) ...@@ -516,7 +516,6 @@ static void __exit ab8500_gpio_exit(void)
module_exit(ab8500_gpio_exit); module_exit(ab8500_gpio_exit);
MODULE_AUTHOR("BIBEK BASU <bibek.basu@stericsson.com>"); MODULE_AUTHOR("BIBEK BASU <bibek.basu@stericsson.com>");
MODULE_DESCRIPTION("Driver allows to use AB8500 unused pins\ MODULE_DESCRIPTION("Driver allows to use AB8500 unused pins to be used as GPIO");
to be used as GPIO");
MODULE_ALIAS("AB8500 GPIO driver"); MODULE_ALIAS("AB8500 GPIO driver");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
...@@ -70,8 +70,9 @@ ...@@ -70,8 +70,9 @@
#include "usbvision.h" #include "usbvision.h"
#include "usbvision-cards.h" #include "usbvision-cards.h"
#define DRIVER_AUTHOR "Joerg Heckenbach <joerg@heckenbach-aw.de>, \ #define DRIVER_AUTHOR \
Dwaine Garden <DwaineGarden@rogers.com>" "Joerg Heckenbach <joerg@heckenbach-aw.de>, " \
"Dwaine Garden <DwaineGarden@rogers.com>"
#define DRIVER_NAME "usbvision" #define DRIVER_NAME "usbvision"
#define DRIVER_ALIAS "USBVision" #define DRIVER_ALIAS "USBVision"
#define DRIVER_DESC "USBVision USB Video Device Driver for Linux" #define DRIVER_DESC "USBVision USB Video Device Driver for Linux"
......
...@@ -83,19 +83,18 @@ MODULE_VERSION(my_VERSION); ...@@ -83,19 +83,18 @@ MODULE_VERSION(my_VERSION);
static int mpt_msi_enable_spi; static int mpt_msi_enable_spi;
module_param(mpt_msi_enable_spi, int, 0); module_param(mpt_msi_enable_spi, int, 0);
MODULE_PARM_DESC(mpt_msi_enable_spi, " Enable MSI Support for SPI \ MODULE_PARM_DESC(mpt_msi_enable_spi,
controllers (default=0)"); " Enable MSI Support for SPI controllers (default=0)");
static int mpt_msi_enable_fc; static int mpt_msi_enable_fc;
module_param(mpt_msi_enable_fc, int, 0); module_param(mpt_msi_enable_fc, int, 0);
MODULE_PARM_DESC(mpt_msi_enable_fc, " Enable MSI Support for FC \ MODULE_PARM_DESC(mpt_msi_enable_fc,
controllers (default=0)"); " Enable MSI Support for FC controllers (default=0)");
static int mpt_msi_enable_sas; static int mpt_msi_enable_sas;
module_param(mpt_msi_enable_sas, int, 0); module_param(mpt_msi_enable_sas, int, 0);
MODULE_PARM_DESC(mpt_msi_enable_sas, " Enable MSI Support for SAS \ MODULE_PARM_DESC(mpt_msi_enable_sas,
controllers (default=0)"); " Enable MSI Support for SAS controllers (default=0)");
static int mpt_channel_mapping; static int mpt_channel_mapping;
module_param(mpt_channel_mapping, int, 0); module_param(mpt_channel_mapping, int, 0);
...@@ -105,15 +104,14 @@ static int mpt_debug_level; ...@@ -105,15 +104,14 @@ static int mpt_debug_level;
static int mpt_set_debug_level(const char *val, struct kernel_param *kp); static int mpt_set_debug_level(const char *val, struct kernel_param *kp);
module_param_call(mpt_debug_level, mpt_set_debug_level, param_get_int, module_param_call(mpt_debug_level, mpt_set_debug_level, param_get_int,
&mpt_debug_level, 0600); &mpt_debug_level, 0600);
MODULE_PARM_DESC(mpt_debug_level, " debug level - refer to mptdebug.h \ MODULE_PARM_DESC(mpt_debug_level,
- (default=0)"); " debug level - refer to mptdebug.h - (default=0)");
int mpt_fwfault_debug; int mpt_fwfault_debug;
EXPORT_SYMBOL(mpt_fwfault_debug); EXPORT_SYMBOL(mpt_fwfault_debug);
module_param(mpt_fwfault_debug, int, 0600); module_param(mpt_fwfault_debug, int, 0600);
MODULE_PARM_DESC(mpt_fwfault_debug, "Enable detection of Firmware fault" MODULE_PARM_DESC(mpt_fwfault_debug,
" and halt Firmware on fault - (default=0)"); "Enable detection of Firmware fault and halt Firmware on fault - (default=0)");
static char MptCallbacksName[MPT_MAX_PROTOCOL_DRIVERS][50]; static char MptCallbacksName[MPT_MAX_PROTOCOL_DRIVERS][50];
......
...@@ -49,8 +49,8 @@ static int bh1780_write(struct bh1780_data *ddata, u8 reg, u8 val, char *msg) ...@@ -49,8 +49,8 @@ static int bh1780_write(struct bh1780_data *ddata, u8 reg, u8 val, char *msg)
int ret = i2c_smbus_write_byte_data(ddata->client, reg, val); int ret = i2c_smbus_write_byte_data(ddata->client, reg, val);
if (ret < 0) if (ret < 0)
dev_err(&ddata->client->dev, dev_err(&ddata->client->dev,
"i2c_smbus_write_byte_data failed error %d\ "i2c_smbus_write_byte_data failed error %d Register (%s)\n",
Register (%s)\n", ret, msg); ret, msg);
return ret; return ret;
} }
...@@ -59,8 +59,8 @@ static int bh1780_read(struct bh1780_data *ddata, u8 reg, char *msg) ...@@ -59,8 +59,8 @@ static int bh1780_read(struct bh1780_data *ddata, u8 reg, char *msg)
int ret = i2c_smbus_read_byte_data(ddata->client, reg); int ret = i2c_smbus_read_byte_data(ddata->client, reg);
if (ret < 0) if (ret < 0)
dev_err(&ddata->client->dev, dev_err(&ddata->client->dev,
"i2c_smbus_read_byte_data failed error %d\ "i2c_smbus_read_byte_data failed error %d Register (%s)\n",
Register (%s)\n", ret, msg); ret, msg);
return ret; return ret;
} }
......
...@@ -787,8 +787,8 @@ static int __devinit spear_pcie_gadget_probe(struct platform_device *pdev) ...@@ -787,8 +787,8 @@ static int __devinit spear_pcie_gadget_probe(struct platform_device *pdev)
status = request_irq(irq, spear_pcie_gadget_irq, 0, pdev->name, NULL); status = request_irq(irq, spear_pcie_gadget_irq, 0, pdev->name, NULL);
if (status) { if (status) {
dev_err(&pdev->dev, "pcie gadget interrupt IRQ%d already \ dev_err(&pdev->dev,
claimed\n", irq); "pcie gadget interrupt IRQ%d already claimed\n", irq);
goto err_iounmap; goto err_iounmap;
} }
......
...@@ -83,8 +83,9 @@ ...@@ -83,8 +83,9 @@
#include "atl1.h" #include "atl1.h"
#define ATLX_DRIVER_VERSION "2.1.3" #define ATLX_DRIVER_VERSION "2.1.3"
MODULE_AUTHOR("Xiong Huang <xiong.huang@atheros.com>, \ MODULE_AUTHOR("Xiong Huang <xiong.huang@atheros.com>, "
Chris Snook <csnook@redhat.com>, Jay Cliburn <jcliburn@gmail.com>"); "Chris Snook <csnook@redhat.com>, "
"Jay Cliburn <jcliburn@gmail.com>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_VERSION(ATLX_DRIVER_VERSION); MODULE_VERSION(ATLX_DRIVER_VERSION);
......
...@@ -242,9 +242,8 @@ static int airo_perm = 0555; ...@@ -242,9 +242,8 @@ static int airo_perm = 0555;
static int proc_perm = 0644; static int proc_perm = 0644;
MODULE_AUTHOR("Benjamin Reed"); MODULE_AUTHOR("Benjamin Reed");
MODULE_DESCRIPTION("Support for Cisco/Aironet 802.11 wireless ethernet \ MODULE_DESCRIPTION("Support for Cisco/Aironet 802.11 wireless ethernet cards. "
cards. Direct support for ISA/PCI/MPI cards and support \ "Direct support for ISA/PCI/MPI cards and support for PCMCIA when used with airo_cs.");
for PCMCIA when used with airo_cs.");
MODULE_LICENSE("Dual BSD/GPL"); MODULE_LICENSE("Dual BSD/GPL");
MODULE_SUPPORTED_DEVICE("Aironet 4500, 4800 and Cisco 340/350"); MODULE_SUPPORTED_DEVICE("Aironet 4500, 4800 and Cisco 340/350");
module_param_array(io, int, NULL, 0); module_param_array(io, int, NULL, 0);
...@@ -252,18 +251,20 @@ module_param_array(irq, int, NULL, 0); ...@@ -252,18 +251,20 @@ module_param_array(irq, int, NULL, 0);
module_param_array(rates, int, NULL, 0); module_param_array(rates, int, NULL, 0);
module_param_array(ssids, charp, NULL, 0); module_param_array(ssids, charp, NULL, 0);
module_param(auto_wep, int, 0); module_param(auto_wep, int, 0);
MODULE_PARM_DESC(auto_wep, "If non-zero, the driver will keep looping through \ MODULE_PARM_DESC(auto_wep,
the authentication options until an association is made. The value of \ "If non-zero, the driver will keep looping through the authentication options until an association is made. "
auto_wep is number of the wep keys to check. A value of 2 will try using \ "The value of auto_wep is number of the wep keys to check. "
the key at index 0 and index 1."); "A value of 2 will try using the key at index 0 and index 1.");
module_param(aux_bap, int, 0); module_param(aux_bap, int, 0);
MODULE_PARM_DESC(aux_bap, "If non-zero, the driver will switch into a mode \ MODULE_PARM_DESC(aux_bap,
than seems to work better for older cards with some older buses. Before \ "If non-zero, the driver will switch into a mode that seems to work better for older cards with some older buses. "
switching it checks that the switch is needed."); "Before switching it checks that the switch is needed.");
module_param(maxencrypt, int, 0); module_param(maxencrypt, int, 0);
MODULE_PARM_DESC(maxencrypt, "The maximum speed that the card can do \ MODULE_PARM_DESC(maxencrypt,
encryption. Units are in 512kbs. Zero (default) means there is no limit. \ "The maximum speed that the card can do encryption. "
Older cards used to be limited to 2mbs (4)."); "Units are in 512kbs. "
"Zero (default) means there is no limit. "
"Older cards used to be limited to 2mbs (4).");
module_param(adhoc, int, 0); module_param(adhoc, int, 0);
MODULE_PARM_DESC(adhoc, "If non-zero, the card will start in adhoc mode."); MODULE_PARM_DESC(adhoc, "If non-zero, the card will start in adhoc mode.");
module_param(probe, int, 0); module_param(probe, int, 0);
......
...@@ -713,8 +713,8 @@ iwl4965_find_disconn_antenna(struct iwl_priv *priv, u32* average_sig, ...@@ -713,8 +713,8 @@ iwl4965_find_disconn_antenna(struct iwl_priv *priv, u32* average_sig,
iwl4965_find_first_chain(priv->cfg->valid_tx_ant); iwl4965_find_first_chain(priv->cfg->valid_tx_ant);
data->disconn_array[first_chain] = 0; data->disconn_array[first_chain] = 0;
active_chains |= BIT(first_chain); active_chains |= BIT(first_chain);
IWL_DEBUG_CALIB(priv, "All Tx chains are disconnected \ IWL_DEBUG_CALIB(priv,
W/A - declare %d as connected\n", "All Tx chains are disconnected W/A - declare %d as connected\n",
first_chain); first_chain);
break; break;
} }
......
...@@ -824,8 +824,8 @@ static void iwl_find_disconn_antenna(struct iwl_priv *priv, u32* average_sig, ...@@ -824,8 +824,8 @@ static void iwl_find_disconn_antenna(struct iwl_priv *priv, u32* average_sig,
find_first_chain(priv->cfg->valid_tx_ant); find_first_chain(priv->cfg->valid_tx_ant);
data->disconn_array[first_chain] = 0; data->disconn_array[first_chain] = 0;
active_chains |= BIT(first_chain); active_chains |= BIT(first_chain);
IWL_DEBUG_CALIB(priv, "All Tx chains are disconnected \ IWL_DEBUG_CALIB(priv,
W/A - declare %d as connected\n", "All Tx chains are disconnected W/A - declare %d as connected\n",
first_chain); first_chain);
break; break;
} }
......
...@@ -405,8 +405,8 @@ static int max8998_set_voltage_buck(struct regulator_dev *rdev, ...@@ -405,8 +405,8 @@ static int max8998_set_voltage_buck(struct regulator_dev *rdev,
switch (buck) { switch (buck) {
case MAX8998_BUCK1: case MAX8998_BUCK1:
dev_dbg(max8998->dev, dev_dbg(max8998->dev,
"BUCK1, i:%d, buck1_vol1:%d, buck1_vol2:%d\n\ "BUCK1, i:%d, buck1_vol1:%d, buck1_vol2:%d\n"
buck1_vol3:%d, buck1_vol4:%d\n", "buck1_vol3:%d, buck1_vol4:%d\n",
i, max8998->buck1_vol[0], max8998->buck1_vol[1], i, max8998->buck1_vol[0], max8998->buck1_vol[1],
max8998->buck1_vol[2], max8998->buck1_vol[3]); max8998->buck1_vol[2], max8998->buck1_vol[3]);
......
...@@ -296,8 +296,7 @@ static int sport_startup(struct uart_port *port) ...@@ -296,8 +296,7 @@ static int sport_startup(struct uart_port *port)
IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING |
IRQF_DISABLED, "BFIN_SPORT_UART_CTS", up)) { IRQF_DISABLED, "BFIN_SPORT_UART_CTS", up)) {
up->cts_pin = -1; up->cts_pin = -1;
dev_info(port->dev, "Unable to attach BlackFin UART \ dev_info(port->dev, "Unable to attach BlackFin UART over SPORT CTS interrupt. So, disable it.\n");
over SPORT CTS interrupt. So, disable it.\n");
} }
} }
if (up->rts_pin >= 0) if (up->rts_pin >= 0)
......
...@@ -49,8 +49,8 @@ ...@@ -49,8 +49,8 @@
static int hsu_dma_enable; static int hsu_dma_enable;
module_param(hsu_dma_enable, int, 0); module_param(hsu_dma_enable, int, 0);
MODULE_PARM_DESC(hsu_dma_enable, "It is a bitmap to set working mode, if \ MODULE_PARM_DESC(hsu_dma_enable,
bit[x] is 1, then port[x] will work in DMA mode, otherwise in PIO mode."); "It is a bitmap to set working mode, if bit[x] is 1, then port[x] will work in DMA mode, otherwise in PIO mode.");
struct hsu_dma_buffer { struct hsu_dma_buffer {
u8 *buf; u8 *buf;
......
...@@ -53,9 +53,10 @@ ...@@ -53,9 +53,10 @@
/* /*
* Version Information * Version Information
*/ */
#define DRIVER_AUTHOR "Linus 'Frodo Rabbit' Torvalds, Johannes Erdfelt, \ #define DRIVER_AUTHOR \
Randy Dunlap, Georg Acher, Deti Fliegl, Thomas Sailer, Roman Weissgaerber, \ "Linus 'Frodo Rabbit' Torvalds, Johannes Erdfelt, " \
Alan Stern" "Randy Dunlap, Georg Acher, Deti Fliegl, Thomas Sailer, " \
"Roman Weissgaerber, Alan Stern"
#define DRIVER_DESC "USB Universal Host Controller Interface driver" #define DRIVER_DESC "USB Universal Host Controller Interface driver"
/* for flakey hardware, ignore overcurrent indicators */ /* for flakey hardware, ignore overcurrent indicators */
......
...@@ -715,8 +715,8 @@ static int ene_ub6250_probe(struct usb_interface *intf, ...@@ -715,8 +715,8 @@ static int ene_ub6250_probe(struct usb_interface *intf,
if (!(misc_reg03 & 0x01)) { if (!(misc_reg03 & 0x01)) {
result = -ENODEV; result = -ENODEV;
printk(KERN_NOTICE "ums_eneub6250: The driver only supports SD\ printk(KERN_NOTICE "ums_eneub6250: The driver only supports SD card. "
card. To use SM/MS card, please build driver/stagging/keucr\n"); "To use SM/MS card, please build driver/staging/keucr\n");
usb_stor_disconnect(intf); usb_stor_disconnect(intf);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment