staging: fbtft: Constify buf parameter in fbtft_dbg_hex()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 16 Mar 2022 16:53:50 +0000 (18:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Mar 2022 12:42:48 +0000 (13:42 +0100)
commit0e8cf2be5c0a324809389c81e5555e8ccb6ba123
tree1951bdbad04b1da3d90e806dac471cd1ad553914
parent9b63000010a0ec3196bd6ecac5b828ba6e6b65dd
staging: fbtft: Constify buf parameter in fbtft_dbg_hex()

It's obvious that we don't and shouldn't modify buffer that
is about to be dumped. Constify parameter in fbtft_dbg_hex()
to make it clear.

Fixes: c296d5f9957c ("staging: fbtft: core support")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220316165351.58107-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft-core.c
drivers/staging/fbtft/fbtft.h