]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: fbtft: fix build error
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 9 Jun 2015 09:10:43 +0000 (14:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Jun 2015 17:37:52 +0000 (10:37 -0700)
while building on i386 it gives a build warning about msg undeclared.

Fixes: e6ffd1ba55a4931c ("staging: fbtft: fix out of bound access")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft-core.c

index 2889f51bf3f841fd75c2124068755bb00157f408..9cc81412be69b724100c749a25f292cb0a08a9c2 100644 (file)
@@ -1092,7 +1092,7 @@ static int fbtft_init_display_dt(struct fbtft_par *par)
                        }
                        /* make debug message */
                        fbtft_par_dbg(DEBUG_INIT_DISPLAY, par,
-                               "init: write_register:%s\n", msg);
+                               "init: write_register:\n");
                        for (j = 0; j < i; j++)
                                fbtft_par_dbg(DEBUG_INIT_DISPLAY, par,
                                              "buf[%d] = %02X\n", j, buf[j]);