From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.web.de ([212.227.15.4]:52442 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750752AbdIXKUe (ORCPT ); Sun, 24 Sep 2017 06:20:34 -0400 To: linux-media@vger.kernel.org, Hans Verkuil , Jan Kara , Lorenzo Stoakes , Mauro Carvalho Chehab , Michal Hocko , Muralidharan Karicheri , Vaibhav Hiremath From: SF Markus Elfring Subject: [PATCH 0/6] [media] omap_vout: Adjustments for three function implementations Cc: LKML , kernel-janitors@vger.kernel.org Message-ID: Date: Sun, 24 Sep 2017 12:20:11 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: From: Markus Elfring Date: Sun, 24 Sep 2017 12:06:54 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (6): Delete an error message for a failed memory allocation in omap_vout_create_video_devices() Improve a size determination in two functions Adjust a null pointer check in two functions Fix a possible null pointer dereference in omap_vout_open() Delete an unnecessary variable initialisation in omap_vout_open() Delete two unnecessary variable initialisations in omap_vout_probe() drivers/media/platform/omap/omap_vout.c | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) -- 2.14.1