]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: Check for quoted strings broken across lines
authorAnchal Jain <anchalj109@gmail.com>
Sun, 21 Feb 2016 16:49:05 +0000 (22:19 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Feb 2016 20:02:22 +0000 (12:02 -0800)
checkpatch warn about quoted strings split across lines.
So, convert multi-line string into a single line.

Signed-off-by: Anchal Jain <anchalj109@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_spi.c

index eb1e76d2795b87446f07455a60081fc0d21db386..d41b8b6790aff8033b9b95176e4b79e1ea6575fe 100644 (file)
@@ -442,8 +442,9 @@ static int spi_cmd_complete(struct wilc *wilc, u8 cmd, u32 adr, u8 *b, u32 sz,
        /* } while(&rptr[1] <= &rb[len2]); */
 
        if (rsp != cmd) {
-               dev_err(&spi->dev, "Failed cmd response, cmd (%02x)"
-                        ", resp (%02x)\n", cmd, rsp);
+               dev_err(&spi->dev,
+                       "Failed cmd response, cmd (%02x), resp (%02x)\n",
+                       cmd, rsp);
                result = N_FAIL;
                return result;
        }