Input: usbtouchscreen - suppress empty array warnings
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Input: usbtouchscreen - suppress empty array warningsdrivers/ | +2 | 2 replies | |
| 2/2 | Input: usbtouchscreen - add driver_info sanity checkdrivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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(+)
Signature · 1 line
2.35.1