lkml.org 
[lkml]   [2017]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/8] [media] Cx231xx: Adjustments for several function implementations
Date
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sun, 17 Sep 2017 21:30:12 +0200

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

Markus Elfring (8):
Delete eight error messages for a failed memory allocation
Adjust 56 checks for null pointers
Improve six size determinations
Delete an unnecessary variable initialisation in dvb_init()
Use common error handling code in dvb_init()
Use common error handling code in read_eeprom()
Delete an unnecessary variable initialisation in read_eeprom()
Use common error handling code in cx231xx_load_firmware()

drivers/media/usb/cx231xx/cx231xx-417.c | 65 +++++-----
drivers/media/usb/cx231xx/cx231xx-audio.c | 2 +-
drivers/media/usb/cx231xx/cx231xx-cards.c | 35 +++---
drivers/media/usb/cx231xx/cx231xx-core.c | 34 ++----
drivers/media/usb/cx231xx/cx231xx-dvb.c | 195 ++++++++++++------------------
drivers/media/usb/cx231xx/cx231xx-vbi.c | 17 +--
drivers/media/usb/cx231xx/cx231xx-video.c | 6 +-
7 files changed, 143 insertions(+), 211 deletions(-)

--
2.14.1

\
 
 \ /
  Last update: 2017-09-17 22:17    [W:0.042 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site