Skip to content

HID: Fine-tuning for some function implementations

SF Markus Elfring kernel-janitors linux-iio linux-input lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7HID: sensor-hub: Use devm_kcalloc() in sensor_hub_probe()drivers/hid/hid-sensor-hub.c+5 -30 replies
2/7HID: sensor-hub: Delete error messages for failed memory allocations in sensor_hub_probe()drivers/hid/hid-sensor-hub.c+1 -51 reply
3/7HID: sensor-hub: Adjust two checks for null pointers in sensor_hub_probe()drivers/hid/hid-sensor-hub.c+2 -20 replies
4/7HID: debug: Replace five seq_printf() calls by seq_putc()drivers/hid/hid-debug.c+6 -50 replies
5/7HID: debug: Replace 12 seq_printf() calls by seq_puts()drivers/hid/hid-debug.c+12 -120 replies
6/7HID: debug: Combine two seq_printf() calls into one call in hid_dump_device()drivers/hid/hid-debug.c+1 -20 replies
7/7HID: picoLCD: Replace two seq_printf() calls by seq_puts() in picolcd_debug_reset_show()drivers/hid/hid-picolcd_debugfs.c+2 -21 reply

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchBruno Prémont
1/7
2/7
3/7
4/7
5/7
6/7
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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