Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7501885pxb; Thu, 18 Feb 2021 11:45:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTmqwwEAmXz4cO6D94RZxw512o9vcF27VRBztTgnp9yAzEyx5d+hcNElvifIwwG44sbAJT X-Received: by 2002:a17:906:a405:: with SMTP id l5mr5461428ejz.107.1613677518914; Thu, 18 Feb 2021 11:45:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613677518; cv=none; d=google.com; s=arc-20160816; b=VD4GbQWPynf8tZn1H8SgPvEo0BBAz3pH7ob4dyf0KqeFQUJAxgBXoUvJBVBR6DIeQM 1FBIRnWPtm49AuI8WyyQ8NFxAdq+Yg+1S3LWeKB0wdUUFN8C4dObGA81gCkB1aeVC/HX agdXnONeECMv5JLY0H2Q6FLUNescT4K+wHdrlvZU+REeDZ4c/TAJE1AXjIkbqvkKIDmf LdLNyc01LosuABYkedstFK+HaKISCuz6ViQPl9tlE9iFccpk5zH3ra3huByEiahJv4MQ wRLmzmMP3eJ4ZVLuyDZECRA4cPJ+SCHFLZw6b1FBqCMEVr9kNmwICvdE5e9tlb6C988l S0Zw== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=R4gsCZgMwDgngZ9qyYmkJ+oFMXRTckcvHATUvxlt/JE=; b=iBFUeZW/6aVZv9VuF49M0z3maznaPLS6Tfyo7iE6m0TA9iWQWC0u9ikkp86FGTaQHt fmE5LWkgPVKr2LkVZSFfzqtA1FHQiu8ce5iS0xqsmzU+hJjBKmfVWONkH8ErOR2SFtFH l8ILlCFT6snq+KL1gMp2uuC9fQGfGKG2f421uK/uC+8rmKJ3tTSWlfdiY/Q/7pHi2CDD HxV+Wb+Pnc7YglAb73wGZHhWZP8APGjehwU3lhlonNfYbc6qr655/6hjyQyk75hlgR1l viMyNeSDXV43twwtbk+JCNo8b3MSvfURP7gi4G/bWqlzpqGf6WozrVsc/+ZZABCJszfK euCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Whm2zE7E; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r18si4372035edt.510.2021.02.18.11.44.55; Thu, 18 Feb 2021 11:45:18 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Whm2zE7E; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231386AbhBRTmO (ORCPT + 99 others); Thu, 18 Feb 2021 14:42:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:52320 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232474AbhBRTGD (ORCPT ); Thu, 18 Feb 2021 14:06:03 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 523DB64E79; Thu, 18 Feb 2021 19:05:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613675122; bh=R4gsCZgMwDgngZ9qyYmkJ+oFMXRTckcvHATUvxlt/JE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Whm2zE7EeuTvM69X4g8Gc7a/abB6P97YSfEeTZg9ybvSaTRqWfXdJbOZ6v/VY5Yk6 4WUVOuCtYUaznHCoL/LQCUEYFwhR0hOZPwqpWha5v573IpnZzSx3CUsSRfz2+XIaMq BdkU3WQO/TIsAgvDRLAZaYPwUQn5Or0Ur/lR6lB8lnBS8wruUmuW08HpiYOpbtU0My GvyZxikx/CPFHKsyfereJrXRfNjJYZvwe5OoxNn/kSUgvTfM2U4rxQUWiBlKdeqhsJ AF1Ccg35n2kBgKX2wmugoQvkAMAgqjRG0nS47dggKjnUjz6dK8bDPGZ1VAOsTmGSU7 3GGicHzc/fmVw== Date: Thu, 18 Feb 2021 11:05:20 -0800 From: Jakub Kicinski To: Calvin Johnson Cc: Grant Likely , "Rafael J . Wysocki" , Jeremy Linton , Andrew Lunn , Andy Shevchenko , Florian Fainelli , Russell King - ARM Linux admin , Cristi Sovaiala , Florin Laurentiu Chiculita , Ioana Ciornei , Madalin Bucur , Heikki Krogerus , Marcin Wojtas , Pieter Jansen Van Vuuren , Jon , Saravana Kannan , Randy Dunlap , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-acpi@vger.kernel.org, Laurentiu Tudor , Diana Madalina Craciun , linux-arm-kernel@lists.infradead.org, linux.cj@gmail.com, "David S. Miller" , Heiner Kallweit Subject: Re: [net-next PATCH v6 02/15] net: phy: Introduce fwnode_mdio_find_device() Message-ID: <20210218110520.727d24b7@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20210218052654.28995-3-calvin.johnson@oss.nxp.com> References: <20210218052654.28995-1-calvin.johnson@oss.nxp.com> <20210218052654.28995-3-calvin.johnson@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 18 Feb 2021 10:56:41 +0530 Calvin Johnson wrote: > +/** > + * fwnode_mdio_find_device - Given a fwnode, find the mdio_device > + * @np: pointer to the mdio_device's fwnode > + * > + * If successful, returns a pointer to the mdio_device with the embedded > + * struct device refcount incremented by one, or NULL on failure. > + * The caller should call put_device() on the mdio_device after its use > + */ > +struct mdio_device *fwnode_mdio_find_device(struct fwnode_handle *fwnode) drivers/net/phy/phy_device.c:2834: warning: Function parameter or member 'fwnode' not described in 'fwnode_mdio_find_device' drivers/net/phy/phy_device.c:2834: warning: Excess function parameter 'np' description in 'fwnode_mdio_find_device'