Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4223399pxb; Mon, 8 Feb 2021 10:45:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwh7MDe8UGYDE8i7vlyPW4LHyFBgaMO3zg+M4PDov+OSoUq5e/ruyRwtQVeyuhRCn31Bvlv X-Received: by 2002:a05:6402:1383:: with SMTP id b3mr17878007edv.131.1612809951968; Mon, 08 Feb 2021 10:45:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612809951; cv=none; d=google.com; s=arc-20160816; b=U0BgdFH9eaeBKx5uwlXuk5GMS2SbvxQCGH1ujdAm4xiR6hK1M3ctaC3CIaoAP7lP3/ Ud9EG2CHhAjps1IXd9UrLme+cdZB5s8v6xzQLU87iWEhjsRDmiA7Dq5YAGvIFa5NTKea qnG9trgQGcm9JPftJfjK0l3XsnWOMQDc1f82DIwoc49+LNtET+Hcl7HAn5TVM22DgYGI /iuFEzMcMpr1nekV6zS+gomJqvUgUdZbwPWDJMyfIDQzQDEX0wQhtUj88Q6aiJToq30W nAJewDIFS2WHDKC4+MlEM5ab/f3bdgkgylmAZnCTutQjwn+/Z0g2cUogxKWZFXnFivTY KhxQ== 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=CtDYqjq+mzzOLcVK8X9S5FWlOoFe/lHdsL3sFiscqzQ=; b=JjHqPoiiMRKWjX+I0/eCUuc4vxYa4EYfeITMDIrhfR4Ym4nUmHlX18QzpUaQMQLD/N tpXVKbIi19qfmRIhUZdWq8hc3/zjL2wOlo/j3pZeQyuNud7IkDSkv7G8iEW9cl8Rp222 5xrB/2XDrt4sI632etrzHmg9b3pUygTdUZ8mTuVIb1TUVSA9dtdYStPl2/n71oXlBL7H dxQ9nhR+SdUbczhi5qDaT2dxnbSZndxOnZLsb2KqM7YmNFrSnxdx88Y/TSClpt0YkAdf BF+a2LvST9sUXv8hqTDx/JIGDyDXW90EhCXiiR/4k8fMLLRQk0ojN1i7/Pc/T7MMUxDp U6pw== 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 u9si5386523ejr.186.2021.02.08.10.45.28; Mon, 08 Feb 2021 10:45:51 -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 S235875AbhBHSnM (ORCPT + 99 others); Mon, 8 Feb 2021 13:43:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234602AbhBHQnK (ORCPT ); Mon, 8 Feb 2021 11:43:10 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9C12C061788; Mon, 8 Feb 2021 08:42:29 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id D105E1F450D7 Message-ID: <56cd99bbf526b43507579b5775bac5f885319866.camel@collabora.com> Subject: Re: linux-next: build warning after merge of the v4l-dvb tree From: Ezequiel Garcia To: Stephen Rothwell , Mauro Carvalho Chehab Cc: Sakari Ailus , Linux Kernel Mailing List , Linux Next Mailing List Date: Mon, 08 Feb 2021 13:42:21 -0300 In-Reply-To: <20210208233716.16d962ad@canb.auug.org.au> References: <20210208233716.16d962ad@canb.auug.org.au> 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 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 * subdev to the notifier's master asd_list. * * @notifier: pointer to &struct v4l2_async_notifier @@ -181,7 +181,7 @@ __v4l2_async_notifier_add_fwnode_subdev(struct v4l2_async_notifier *notifier, sizeof(__type))) /** - * v4l2_async_notifier_add_fwnode_remote_subdev - Allocate and add a fwnode + * __v4l2_async_notifier_add_fwnode_remote_subdev - Allocate and add a fwnode * remote async subdev to the * notifier's master asd_list. * @@ -210,7 +210,7 @@ __v4l2_async_notifier_add_fwnode_remote_subdev(struct v4l2_async_notifier *notif sizeof(__type))) /** - * v4l2_async_notifier_add_i2c_subdev - Allocate and add an i2c async + * __v4l2_async_notifier_add_i2c_subdev - Allocate and add an i2c async * subdev to the notifier's master asd_list. * * @notifier: pointer to &struct v4l2_async_notifier @@ -228,7 +228,7 @@ struct v4l2_async_subdev * __v4l2_async_notifier_add_i2c_subdev(struct v4l2_async_notifier *notifier, int adapter_id, unsigned short address, unsigned int asd_struct_size); -#define v4l2_async_notifier_add_i2c_subdev(__notifier, __adap, __addr, __type) \ +#define v4l2_async_notifier_i2c(__notifier, __adap, __addr, __type) \ ((__type *)__v4l2_async_notifier_add_i2c_subdev(__notifier, __adap, __addr, \ sizeof(__type))) I'll send a fix for Mauro. Best regards, Ezequiel