From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934166AbcAKQtu (ORCPT ); Mon, 11 Jan 2016 11:49:50 -0500 Received: from lists.s-osg.org ([54.187.51.154]:55356 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934052AbcAKQtr (ORCPT ); Mon, 11 Jan 2016 11:49:47 -0500 Subject: Re: [PATCH 0/8] [media] Check v4l2_of_parse_endpoint() ret val in all drivers To: Sakari Ailus References: <1452191248-15847-1-git-send-email-javier@osg.samsung.com> <20160109230330.GG576@valkosipuli.retiisi.org.uk> Cc: linux-kernel@vger.kernel.org, Nikhil Devshatwar , Kukjin Kim , Krzysztof Kozlowski , Andrzej Hajda , Mauro Carvalho Chehab , Guennadi Liakhovetski , linux-samsung-soc@vger.kernel.org, Kyungmin Park , Sylwester Nawrocki , Sakari Ailus , "Prabhakar\"" , Ricardo Ribalda Delgado , Laurent Pinchart , Hans Verkuil , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org From: Javier Martinez Canillas Message-ID: <5693DD22.9020805@osg.samsung.com> Date: Mon, 11 Jan 2016 13:49:38 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20160109230330.GG576@valkosipuli.retiisi.org.uk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Sakari, On 01/09/2016 08:03 PM, Sakari Ailus wrote: > Hi Javier, > > On Thu, Jan 07, 2016 at 03:27:14PM -0300, Javier Martinez Canillas wrote: >> Hello, >> >> When discussing a patch [0] with Laurent Pinchart for another series I >> mentioned to him that most callers of v4l2_of_parse_endpoint() weren't >> checking the return value. This is likely due the function kernel-doc >> stating incorrectly that the return value is always 0 but can return a >> negative error code on failure. >> >> This trivial patch series fixes the function kernel-doc and add proper >> error checking in all the drivers that are currently not doing so. > > After fixing patches 5 and 6, > Done, posted a v2 fixing the issues you pointed out. > Acked-by: Sakari Ailus > Thanks a lot for your feedback and review! Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America