lkml.org 
[lkml]   [2017]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/9] [media] TM6000: Adjustments for some function implementations
Date
From: Markus Elfring <elfring@users.sourceforge.net>
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(-)

--
2.14.1

\
 
 \ /
  Last update: 2017-09-15 09:48    [W:0.204 / U:0.652 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site