HID: Fine-tuning for some function implementations
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | HID: sensor-hub: Use devm_kcalloc() in sensor_hub_probe()drivers/ | +5 | 0 replies | |
| 2/7 | HID: sensor-hub: Delete error messages for failed memory allocations in sensor_hub_probe()drivers/ | +1 | 1 reply | |
| 3/7 | HID: sensor-hub: Adjust two checks for null pointers in sensor_hub_probe()drivers/ | +2 | 0 replies | |
| 4/7 | HID: debug: Replace five seq_printf() calls by seq_putc()drivers/ | +6 | 0 replies | |
| 5/7 | HID: debug: Replace 12 seq_printf() calls by seq_puts()drivers/ | +12 | 0 replies | |
| 6/7 | HID: debug: Combine two seq_printf() calls into one call in hid_dump_device()drivers/ | +1 | 0 replies | |
| 7/7 | HID: picoLCD: Replace two seq_printf() calls by seq_puts() in picolcd_debug_reset_show()drivers/ | +2 | 1 reply |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Bruno Prémont |
|---|---|
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] HID: Fine-tuning for some function implementations
From: Markus Elfring <[email protected]>
Date: Mon, 24 Apr 2017 22:00:22 +0200
Some update suggestions were taken into account
from static source code analysis.
Markus Elfring (7):
Use devm_kcalloc() in sensor_hub_probe()
Delete error messages for failed memory allocations in sensor_hub_probe() Adjust two checks for null pointers in sensor_hub_probe() Replace five seq_printf() calls by seq_putc()
Replace 12 seq_printf() calls by seq_puts()
Combine two seq_printf() calls into one call in hid_dump_device() Replace two seq_printf() calls by seq_puts() in picolcd_debug_reset_show()
drivers/hid/hid-debug.c | 38 +++++++++++++++++++------------------- drivers/hid/hid-picolcd_debugfs.c | 4 ++-- drivers/hid/hid-sensor-hub.c | 18 ++++++++---------- 3 files changed, 29 insertions(+), 31 deletions(-)
Signature · 1 line
2.12.2