lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220620084628.20894-1-johan@kernel.org>
Date:   Mon, 20 Jun 2022 10:46:26 +0200
From:   Johan Hovold <johan@...nel.org>
To:     Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc:     linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
        Johan Hovold <johan@...nel.org>
Subject: [PATCH 0/2] Input: usbtouchscreen - suppress empty array warnings

I ran into some new (?) compiler warnings with -rc3 this morning. Not
sure if it's after updating to GCC 11.3.0 a few weeks ago, or due to
some other change.

Either way, making sure that the device info table is non empty is
straight forward and the sentinel value can also be used to protect
against potential future bugs due to the somewhat fragile driver
ifdeffery.

Johan


Johan Hovold (2):
  Input: usbtouchscreen - suppress empty array warnings
  Input: usbtouchscreen - add driver_info sanity check

 drivers/input/touchscreen/usbtouchscreen.c | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.35.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ