From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Wed, 20 Sep 2017 16:55:33 +0000 Subject: [PATCH 0/5] [media] s2255drv: Fine-tuning for some function implementations Message-Id: <55718a41-d76f-36bf-7197-db92014dcd3c@users.sourceforge.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-media@vger.kernel.org, Arvind Yadav , Bhumika Goyal , Laurent Pinchart , Mauro Carvalho Chehab , Mike Isely , Sakari Ailus Cc: LKML , kernel-janitors@vger.kernel.org From: Markus Elfring Date: Wed, 20 Sep 2017 18:18:28 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (5): Delete three error messages for a failed memory allocation in s2255_probe() Adjust 13 checks for null pointers Improve two size determinations in s2255_probe() Use common error handling code in read_pipe_completion() Delete an unnecessary return statement in five functions drivers/media/usb/s2255/s2255drv.c | 64 ++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 38 deletions(-) -- 2.14.1