lkml.org 
[lkml]   [2017]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/8] [media] ttusb_dec: Fine-tuning for some function implementations
Date
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Thu, 14 Sep 2017 12:26:24 +0200

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

Markus Elfring (8):
Use common error handling code in ttusb_dec_init_dvb()
Adjust five checks for null pointers
Improve a size determination in three functions
Delete an error message for a failed memory allocation in ttusb_dec_probe()
Move an assignment in ttusb_dec_probe()
Reduce the scope for three variables in ttusb_dec_process_urb()
Add spaces for better code readability
Delete four unwanted spaces

drivers/media/usb/ttusb-dec/ttusb_dec.c | 175 ++++++++++++++------------------
1 file changed, 79 insertions(+), 96 deletions(-)

--
2.14.1

\
 
 \ /
  Last update: 2017-09-14 19:28    [W:0.115 / U:1.940 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site