Staging: i2o: Join quoted string split across lines
PATCH 1/1 Staging: i2o: Join quoted string split across lines
This patch removes the checkpatch.pl warnings "quoted string split accross lines"
Signed-off-by Vatika Harlalka <[email protected]>
--- drivers/staging/i2o/driver.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
drivers/staging/i2o/driver.c +3 -4
@@ -102,8 +102,7 @@ int i2o_driver_register(struct i2o_driver *drv)for (i =0 ; i2o_drivers[i]; i++)if (i >= i2o_max_drivers) { -osm_err ("too many drivers registered, increase " -"max_drivers\n" ); +osm_err ("too many drivers registered, increase max_drivers\n" );spin_unlock_irqrestore (&i2o_drivers_lock, flags); rc = -EFAULT ; goto out;
@@ -244,8 +243,8 @@ int i2o_driver_dispatch(struct i2o_controller *c, u32 m) }if (unlikely (!drv->reply)) { -osm_debug ("%s: Reply to driver %s, but no reply function" -" defined!\n" , c->name, drv->name); +osm_debug ("%s: Reply to driver %s, but no reply function defined!\n" , + c->name, drv->name);return -EIO ; }
Signature · 1 line
1.9.1
Quoted 1 line · Vatika Harlalka
This patch removes the checkpatch.pl warnings "quoted string split accross lines"
drivers/staging/i2o seems to be code that is on the way out of the Linux kernel rather than on the way in. See commit 2cbf7fe2d5. Perhaps try to avoid working on these files.
julia
Quoted 40 lines
Signed-off-by Vatika Harlalka <[email protected]>--- drivers/staging/i2o/driver.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)drivers/staging/i2o/driver.c +3
-4@@ -102,8 +102,7 @@ int i2o_driver_register(struct i2o_driver *drv)for (i =0 ; i2o_drivers[i]; i++)if (i >= i2o_max_drivers) { -osm_err ("too many drivers registered, increase " -"max_drivers\n" ); +osm_err ("too many drivers registered, increase max_drivers\n" );spin_unlock_irqrestore (&i2o_drivers_lock, flags); rc = -EFAULT ; goto out;@@ -244,8 +243,8 @@ int i2o_driver_dispatch(struct i2o_controller *c, u32 m) }if (unlikely (!drv->reply)) { -osm_debug ("%s: Reply to driver %s, but no reply function" -" defined!\n" , c->name, drv->name); +osm_debug ("%s: Reply to driver %s, but no reply function defined!\n" , + c->name, drv->name);return -EIO ; }Signature · 8 lines
1.9.1 -- You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20150218194915.GA28794%40gmail.com. For more options, visit https://groups.google.com/d/optout.