Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4281468pxb; Mon, 8 Feb 2021 12:19:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJzF71k+k127LDGjP1A4f3tpjZUEV50KjBzW1njWr8p5jexV/yVm73hOe3yox6t2kGf3g2an X-Received: by 2002:a17:906:fcb1:: with SMTP id qw17mr19009277ejb.7.1612815587641; Mon, 08 Feb 2021 12:19:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612815587; cv=none; d=google.com; s=arc-20160816; b=lIyk/ZkQVEiTkyDC1IMEQAQh6FqVO+Gdcu2SgQumM/vo3enOQdtguhQlpmrfUwzU/l RJj9jdq2a7kHwq4EciIhtzx3w9gzSOiDxMyOexAWK7QhKU+M9nkC3BFmbA6IUChbxgSE 6k9vVmFC2DY943qGt8QX5zGvOBpQ2sVdM6/0a+Akl1xJGT+rdVg6dV12oaqkWXhWon+Y 2sD2CxZFiHTkWsPzDSLlMUhaovITGfUmjyjLIuu/cHPJcXGKWCGObIVfVadB69m17Hie piqQqR7hLmUt+1JPnD5DheJWdMWh97Vp50Umuxh9jJei5V48UrhmLFXm/5D5Xx3rXcLh YY3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=Kl9T4COd0Ed2O10anCRtrP9HhOPhIh3n2ZCnQwJv3js=; b=fAqnJI1n5zpGSE7dwrYynNF8rdiAp50zi8jQu62n999x83d57q6SICARMK0oRbZfzl CVUuykKbNwEsPu9quUFmK0e50ZSH1ZYyp4O56PhwkxI9vhqVmx9+HwdggZL7Ew/D6LzJ PmtlskrguG9NY95gAqPmaVQ/XteirE6qCXUjkMpxB0U42pP/jLAGblGFnMmHLmYzS7oY U3j5m8FTKw0zD9TfNpMQc8OQCWw2G+3vsZF0rRbui08LIHmQjhUfMja6Aqxlu7FJwoni KBJk/mV6JNsnv5EFnvOKQ3RdQAlxDG9Vf24s01Vxu6ALapWg4Q9cIl5fPrcSYxkGTgNO sXcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j3si3879235edy.96.2021.02.08.12.19.18; Mon, 08 Feb 2021 12:19:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236824AbhBHUR5 (ORCPT + 99 others); Mon, 8 Feb 2021 15:17:57 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:39764 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233805AbhBHSxx (ORCPT ); Mon, 8 Feb 2021 13:53:53 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id 881841F44B0B Message-ID: Subject: Re: linux-next: build warning after merge of the v4l-dvb tree From: Ezequiel Garcia To: Mauro Carvalho Chehab Cc: Sakari Ailus , Stephen Rothwell , Linux Kernel Mailing List , Linux Next Mailing List Date: Mon, 08 Feb 2021 15:53:00 -0300 In-Reply-To: <20210208184014.55128fb5@coco.lan> References: <20210208233716.16d962ad@canb.auug.org.au> <56cd99bbf526b43507579b5775bac5f885319866.camel@collabora.com> <20210208164618.GY32460@paasikivi.fi.intel.com> <4af499f5931d6b04a42787ae17525c63247573e6.camel@collabora.com> <20210208184014.55128fb5@coco.lan> Organization: Collabora Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.2-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2021-02-08 at 18:40 +0100, Mauro Carvalho Chehab wrote: > Em Mon, 08 Feb 2021 13:57:56 -0300 > Ezequiel Garcia escreveu: > > > On Mon, 2021-02-08 at 18:46 +0200, Sakari Ailus wrote: > > > Hi Ezequiel, > > > > > > Thanks for addressing this. > > > > > > On Mon, Feb 08, 2021 at 01:42:21PM -0300, Ezequiel Garcia wrote:  > > > > Hi Stephen, > > > > > > > > On Mon, 2021-02-08 at 23:37 +1100, Stephen Rothwell wrote:  > > > > > Hi all, > > > > > > > > > > After merging the v4l-dvb tree, today's linux-next build (htmldocs) > > > > > produced this warning: > > > > > > > > > > include/media/v4l2-async.h:178: warning: expecting prototype for v4l2_async_notifier_add_fwnode_subdev(). Prototype was for > > > > > __v4l2_async_notifier_add_fwnode_subdev() instead > > > > > include/media/v4l2-async.h:207: warning: expecting prototype for v4l2_async_notifier_add_fwnode_remote_subdev(). Prototype was for > > > > > __v4l2_async_notifier_add_fwnode_remote_subdev() instead > > > > > include/media/v4l2-async.h:230: warning: expecting prototype for v4l2_async_notifier_add_i2c_subdev(). Prototype was for > > > > > __v4l2_async_notifier_add_i2c_subdev() instead > > > > > > > > > > Maybe introduced by commit > > > > > > > > > >   c1cc23625062 ("media: v4l2-async: Discourage use of v4l2_async_notifier_add_subdev") > > > > >   > > > > > > > > Thanks for spotting this. Should be fixed by: > > > > > > > > diff --git a/include/media/v4l2-async.h b/include/media/v4l2-async.h > > > > index 6f22daa6f067..3785445282fc 100644 > > > > --- a/include/media/v4l2-async.h > > > > +++ b/include/media/v4l2-async.h > > > > @@ -157,7 +157,7 @@ int __v4l2_async_notifier_add_subdev(struct v4l2_async_notifier *notifier, > > > >                                    struct v4l2_async_subdev *asd); > > > >   > > > >  /** > > > > - * v4l2_async_notifier_add_fwnode_subdev - Allocate and add a fwnode async > > > > + * __v4l2_async_notifier_add_fwnode_subdev - Allocate and add a fwnode async  > > > > > > The problem with the approach is that this no longer documents the API that > > > drivers are intended to use, but the intermediate one. > > Yep. the better would be to keep documenting what will be used. > Is there a way to silence/ignore the warning for a specific function(s)? Ezequiel