Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 70e639c0 authored by Khusika Dhamar Gusti's avatar Khusika Dhamar Gusti Committed by Michael Bestas
Browse files

input: touchscreen: nt36xxx_spi_c3j: fix snprintf error

Fixes the following clang error:

drivers/input/touchscreen/nt36xxx_spi_c3j/nt36xxx_mp_ctrlram.c:1240:3:
warning: 'snprintf' size argument is too large; destination buffer
has size 32, but size argument is 4096 [-Wfortify-source]
 1240 |                 snprintf(mpcriteria, PAGE_SIZE, "novatek-mp-criteria-%04X", ts->nvt_pid);
      |                 ^

Change-Id: I3988e96941df236a879d64c09788d7074ded9f01
parent b4e8027c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment