diff options
author | Davide Garberi <dade.garberi@gmail.com> | 2021-03-13 12:30:10 +0100 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2021-03-13 12:31:55 +0100 |
commit | 2bc69ae323d34342c2bda24adeb78c9ff321a9a3 (patch) | |
tree | 1c7526bb3a2988bb4ae1d1e46f17420954dc7e0d /drivers/xen/xen-scsiback.c | |
parent | d27e61d74031fbff277591e75618fb769ddec7fa (diff) |
input: focal_ft8719_e7t: Fix Wfortify-source warnings
kernel/xiaomi/sdm660/drivers/input/touchscreen/focal_ft8719_e7t/focaltech_ex_fun.c:158:9: error: 'snprintf' size argument is too large; destination buffer has size 25, but size argument is 4096 [-Werror,-Wfortify-source]
snprintf(tmp, PAGE_SIZE, "%s", writebuf + 1);
^
kernel/xiaomi/sdm660/drivers/input/touchscreen/focal_ft8719_e7t/focaltech_ex_fun.c:932:5: error: 'snprintf' size argument is too large; destination buffer has size 128, but size argument is 4096 [-Werror,-Wfortify-source]
snprintf(fwname, PAGE_SIZE, "%s", buf);
^
kernel/xiaomi/sdm660/drivers/input/touchscreen/focal_ft8719_e7t/focaltech_ex_fun.c:975:5: error: 'snprintf' size argument is too large; destination buffer has size 128, but size argument is 4096 [-Werror,-Wfortify-source]
snprintf(fwname, PAGE_SIZE, "%s", buf);
Change-Id: I7445a37c618e83209ec2b6cf2c00b64bd77b5f0b
Diffstat (limited to 'drivers/xen/xen-scsiback.c')
0 files changed, 0 insertions, 0 deletions