Skip to content

TM6000: Adjustments for some function implementations

SF Markus Elfring kernel-janitors linux-media lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9tm6000: Delete seven error messages for a failed memory allocationdrivers/media/usb/tm6000/tm6000-cards.c drivers/media/usb/tm6000/tm6000-dvb.c drivers/media/usb/tm6000/tm6000-video.c+4 -150 replies
2/9tm6000: Adjust seven checks for null pointersdrivers/media/usb/tm6000/tm6000-cards.c drivers/media/usb/tm6000/tm6000-dvb.c drivers/media/usb/tm6000/tm6000-input.c +1 more+7 -70 replies
3/9tm6000: Use common error handling code in tm6000_usb_probe()drivers/media/usb/tm6000/tm6000-cards.c+6 -50 replies
4/9tm6000: One function call less in tm6000_usb_probe() after error detectiondrivers/media/usb/tm6000/tm6000-cards.c+7 -80 replies
5/9tm6000: Delete an unnecessary variable initialisation in tm6000_usb_probe()drivers/media/usb/tm6000/tm6000-cards.c+1 -10 replies
6/9tm6000: Use common error handling code in tm6000_cards_setup()drivers/media/usb/tm6000/tm6000-cards.c+3 -40 replies
7/9tm6000: Improve a size determination in dvb_init()drivers/media/usb/tm6000/tm6000-dvb.c+1 -10 replies
8/9tm6000: Use common error handling code in tm6000_start_stream()drivers/media/usb/tm6000/tm6000-dvb.c+7 -40 replies
9/9tm6000: Use common error handling code in tm6000_prepare_isoc()drivers/media/usb/tm6000/tm6000-video.c+7 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] [media] TM6000: Adjustments for some function implementations

From: Markus Elfring <[email protected]>
Date: Fri, 15 Sep 2017 08:24:56 +0200

Some update suggestions were taken into account
from static source code analysis.

Markus Elfring (9):
Delete seven error messages for a failed memory allocation Adjust seven checks for null pointers
Use common error handling code in tm6000_usb_probe()
One function call less in tm6000_usb_probe() after error detection Delete an unnecessary variable initialisation in tm6000_usb_probe() Use common error handling code in tm6000_cards_setup() Improve a size determination in dvb_init()
Use common error handling code in tm6000_start_stream() Use common error handling code in tm6000_prepare_isoc()

 drivers/media/usb/tm6000/tm6000-cards.c | 36 ++++++++++++++++-----------------
 drivers/media/usb/tm6000/tm6000-dvb.c   | 24 +++++++++++-----------
 drivers/media/usb/tm6000/tm6000-input.c |  2 +-
 drivers/media/usb/tm6000/tm6000-video.c | 30 +++++++++++----------------
 4 files changed, 42 insertions(+), 50 deletions(-)
Signature · 1 line
2.14.1