diff options
author | Khusika Dhamar Gusti <mail@khusika.com> | 2019-09-13 23:05:32 +0700 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-11-18 16:19:24 +0200 |
commit | 0cd44bc6cc29139366704faa2e10f46f4a2dbc15 (patch) | |
tree | 139558b76c96a6a80202c00bc63005d3e63fe885 /drivers/soc | |
parent | 4153f956b6929bb64df73701c6f78b1dfc8d2ccd (diff) |
input: touchscreen: nvt_touch_*: fix snprintf error
Fixes the following clang error:
../drivers/input/touchscreen/nvt_touch_d2s/nt36xxx_mp_ctrlram.c:1487:3: error: 'snprintf' size argument is too large; destination buffer has size
32, but size argument is 4096 [-Werror,-Wfortify-source]
snprintf(mpcriteria, PAGE_SIZE, "novatek-mp-criteria-%04X", ts->nvt_pid);
^
1 error generated.
Change-Id: Ieb3331a226cb6e183aaac2f22e7e8dccf27af7fc
Signed-off-by: Khusika Dhamar Gusti <mail@khusika.com>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions