mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 03:40:04 +00:00
staging: fbtft: fix build error
while building on i386 it gives a build warning about msg undeclared.
Fixes: e6ffd1ba55
("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>
This commit is contained in:
parent
bfee7c9665
commit
11f2323ad3
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue