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

Unverified Commit aa93f43e authored by Gilberto Gambugge's avatar Gilberto Gambugge Committed by Michael Bestas
Browse files

input: touchscreen: ft8719_spi_c3j: fix pointer comparison

Fix pointer to null char constant comparison

+++++++++++++++++++++++++++++++++++++++
Build error:

drivers/input/touchscreen/ft8719_spi_c3j/focaltech_test/focaltech_test_ini.c:122:15:
warning: comparing a pointer to a null character constant; did you mean
to compare to NULL? [-Wpointer-compare]
  122 |                 if  ((cs == '\0') || (ct == '\0'))
      |                             ^~~~
      |                             (void *)0
drivers/input/touchscreen/ft8719_spi_c3j/focaltech_test/focaltech_test_ini.c:122:31:
warning: comparing a pointer to a null character constant; did you mean
to compare to NULL? [-Wpointer-compare]
  122 |                 if  ((cs == '\0') || (ct == '\0'))
      |                                             ^~~~
      |                                             (void *)0
+++++++++++++++++++++++++++++++++++++++

Change-Id: I3da858fb1569493fcd829d3894ef4624d9c8bf06
Reviewed-on: https://gerrit.mot.com/1687857


SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: default avatarKonstantin Makariev <kmakariev@motorola.com>
Reviewed-by: default avatarRafael Ortolan <rafones@motorola.com>
Submit-Approved: Sergio Vilela <sv008@motorola.com>
Reviewed-on: https://gerrit.mot.com/1761150


Reviewed-by: default avatarJianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
parent 3fd17054
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