Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp647686pxb; Tue, 12 Apr 2022 09:52:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZQkJDZgckv5lIPOJgZJRAkbmLZJoSwnA5D+h0wd/NfiFpcsCiEwlb+qsdNMVd51FMlyq/ X-Received: by 2002:a63:78c3:0:b0:398:2d6d:c275 with SMTP id t186-20020a6378c3000000b003982d6dc275mr31296146pgc.565.1649782340981; Tue, 12 Apr 2022 09:52:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649782340; cv=none; d=google.com; s=arc-20160816; b=U3XN/Du41ZqhzAlb6lMlIXiJQN6rGkT0XaT+XBi8AZVMpDp5Gt5u0QDaa2eljYXMcn ppuR5zeD2kfXBcDIz/4yXKcALWQBHl+IJ8QgrEqQTavQvn7Fe6fkRuY/rBttmP2wqCq1 +iONEOH5jUTmIPqKx8PJQT+eLNxzIqr4DqBDvRqSFpNY+tlNhvEVcjzpx8Dt6s1V6urI KmyHQM8OU+fDnrgH0l6sEPHedks2v2Bay+uvz0Kv/axz9VBirVznR9bwFuTcPFRi/tj8 6H69OFKDkOuNBgFUFOLt11hTnEQk7sA6YJHD+ZdaMD6QXuqd243fIsMX3xmxu+nj0VEC 9c9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NgOII4X4PHI+LhVVYzC21xbG6j5l0pnBHqqbWJH+lqw=; b=O6MGw6t84cnBuZPcFi/mUbW4v29pNNfgHmMKAIh9sFXEaE/YjDccOB6qJX4a7afq+o HzTtghvBrsKlmCJFXwTWhklItWiEYTciSd/8YTrRc4sScbeUzpiHyDb/LI4RgE9y+sOQ yr4A0rFZnSyKUMzLI7kWQgmYeA02UDN+unY2VjXng9mkG6ZHVYjFew25WSuLUGRMpyt5 sIRtAwifre91uHFRTCpRLDHG3q0cTuG7r3gOXB5Zp3fjhJ3xghTe1FvHdG2qIEXVkWUt ZPpatel9kspILkjZRXX30lPCkG19v9arlwJB1PgNQvuMwaQTplL7cDiFLyT3BwrOSXFJ aCEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=XZas+GC+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u13-20020a056a00124d00b004fa6589243csi12086232pfi.220.2022.04.12.09.52.06; Tue, 12 Apr 2022 09:52:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=XZas+GC+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243298AbiDJPND (ORCPT + 99 others); Sun, 10 Apr 2022 11:13:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232707AbiDJPNA (ORCPT ); Sun, 10 Apr 2022 11:13:00 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD29513E2A; Sun, 10 Apr 2022 08:10:49 -0700 (PDT) Received: from pendragon.ideasonboard.com (117.145-247-81.adsl-dyn.isp.belgacom.be [81.247.145.117]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 62E4D482; Sun, 10 Apr 2022 17:10:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1649603447; bh=EKSMvEVT58fRaDQ4LBXr1wUTIvlA9+5BdMvHsDAnBD0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XZas+GC+obmTLs0yI6Py/zm7x3J4R2OibbPyVjU5b74Vwk+KxvPMxC5r0lfBa9DKc bk4RuynoHGr7s2E22Rj8pfYG/nkdsqbw7P9hZDBIA8NNfnY9434Ppyyp1S063YJBck ee9SnAZ6izOotUJtPCb8VSYFiwHIdaYlHaBaJzTk= Date: Sun, 10 Apr 2022 18:10:45 +0300 From: Laurent Pinchart To: Kieran Bingham Cc: Ian Jamison , Mauro Carvalho Chehab , Sakari Ailus , Ian Arkver , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: media-entity.h: Fix documentation for media_create_intf_link Message-ID: References: <21f190a8bb9ddaa43949b4455983bd66b4e11798.1649440397.git.ian.dev@arkver.com> <164953234079.22830.17385702287665697579@Monstersaurus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <164953234079.22830.17385702287665697579@Monstersaurus> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 09, 2022 at 08:25:40PM +0100, Kieran Bingham wrote: > Quoting Ian Jamison (2022-04-08 18:53:45) > > The documentation comment was inserted between the return type > > and the function name. Reunite the lines. > > > > Signed-off-by: Ian Jamison > > Fixes: db7ee32aa185 ("[media] media-device.h: Improve documentation and update it") > > --- > > include/media/media-entity.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/include/media/media-entity.h b/include/media/media-entity.h > > index 742918962d46..9bc9a55df71e 100644 > > --- a/include/media/media-entity.h > > +++ b/include/media/media-entity.h > > @@ -1030,7 +1030,6 @@ __must_check media_devnode_create(struct media_device *mdev, > > * removed. > > */ > > void media_devnode_remove(struct media_intf_devnode *devnode); > > -struct media_link * > > Eeep. I guess that was some sort of merge conflict resolution that > didn't quite get it right sometime. > > But definitely a good fix. > > Reviewed-by: Kieran Bingham Indeed. Reviewed-by: Laurent Pinchart > > /** > > * media_create_intf_link() - creates a link between an entity and an interface > > @@ -1061,6 +1060,7 @@ struct media_link * > > * the interface and media_device_register_entity() should be called for the > > * interface that will be part of the link. > > */ > > +struct media_link * > > __must_check media_create_intf_link(struct media_entity *entity, > > struct media_interface *intf, > > u32 flags); -- Regards, Laurent Pinchart