Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1627721pxj; Wed, 19 May 2021 10:06:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0Nd5XjJ2vlnAWX+Y96GR1M058ZA9zzQ0Fj/D0XAtREDBGRMbr8mi/XMskgNzHtSczCQDQ X-Received: by 2002:aa7:cc97:: with SMTP id p23mr60411edt.372.1621444001621; Wed, 19 May 2021 10:06:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621444001; cv=none; d=google.com; s=arc-20160816; b=XVN6hy0mlHZJPlpTbLDcEdJcWc+wlmuN3rn/1qCppL4prdeAyQLfEJwoa9Cnx1Zpfq INSYzLK6rkktiIUFEkI5USqly8R0b2GSdxJAVSzzzskeQosdxsR3aHC6jZP4jRHEKwhk a90rvs6l5hInZiJZ++Ak/L42Gf13lIk2KRCqpGgpRry66F2hR6H1s/2wc8XVfuhf89XL TrdJRvGEpT1QXG4Jx+uGG2cT3PZomAhokkpA61BwGurEkvPW38FgsIT0FDxBYjGQSVcq qj2OuONTVZTvhECraG6w2kGpbosd5MmJJVgQOPZZprm5sJzUBhv+5zPV7WDUkk3JwTa9 jfjg== 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=/qQpnLi2qBgwEpUigoYrSzBOlkaPo67AiZzsrM3RAP8=; b=W+Y6KRJAzLroyPcXM62QxthxzwA1X2F/Y1zMc3rqwdrj7nzANi8oH5urd2b6dzLu4f J+/dc2FtEa7k7S0erpBJ/WrqDrr6KGPRegLhmKINTnBRrnGDYpbaBcvh7Mc0XRNuaEFS OqQFNCrc+iUAKkZb3iclEYmWLiSuyTsrS2z+WncDHssC/1OeuGpQB6wLpNy6LABjNlyC NiNX7eJ7udc+eg7VJy0tLMsamhrZCyeSdZIhQFg/9fsVJJyiBERS0ok7ErG5kDZm9n3z PxV4uU7+bE0c9ZyFDe/NUF72uERQJWFPNbCg70rIulM5KTy5AMdAtMtI3OTV7kpNAZfd Ztxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="cgIBNr/p"; 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 g12si585372edw.596.2021.05.19.10.06.17; Wed, 19 May 2021 10:06:41 -0700 (PDT) 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="cgIBNr/p"; 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 S1347638AbhERJBZ (ORCPT + 99 others); Tue, 18 May 2021 05:01:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:33974 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346873AbhERJBV (ORCPT ); Tue, 18 May 2021 05:01:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 68A2061209; Tue, 18 May 2021 08:59:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621328372; bh=UgRUbJBBnzpQLR7EDO5qOM4DnpZGVxZ1RG6udzAgiSI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cgIBNr/pGVp/2pKxnCVr3/1dfbYoIilVzSYhr8SiMXo35yUdwOvOqcGNOC6paBu5j VUhb4VSaRcSiLLutDH0ZifW8KQyhfEQYIDVfdj+Rbu07DOd9irFFpLhe8Fr1J4H2SG 3RFRqbqyByyQw9Z49WATQFDdvf9vGS9m5RhYHfayhwyeKzJg/OTgmMLESJvzp4Y0LZ ZGnCr632Km3OG02yjd4k5lW6MzXDTieI44HgoOff0oX/mApS5Fy22ADiV56qBD11dz gZIOw33NJewTZLKIzlzlhpLLSpSYD0xs6aVfQQFt0FeCjM+4Uv0aO33sMGVP97gXEv xeKXASFC/tZxw== Date: Tue, 18 May 2021 11:59:27 +0300 From: Leon Romanovsky To: Peter Geis Cc: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH] net: phy: add driver for Motorcomm yt8511 phy Message-ID: References: <20210511214605.2937099-1-pgwipeout@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210511214605.2937099-1-pgwipeout@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 11, 2021 at 05:46:06PM -0400, Peter Geis wrote: > Add a driver for the Motorcomm yt8511 phy that will be used in the > production Pine64 rk3566-quartz64 development board. > It supports gigabit transfer speeds, rgmii, and 125mhz clk output. > > Signed-off-by: Peter Geis > --- > MAINTAINERS | 6 +++ > drivers/net/phy/Kconfig | 6 +++ > drivers/net/phy/Makefile | 1 + > drivers/net/phy/motorcomm.c | 85 +++++++++++++++++++++++++++++++++++++ > 4 files changed, 98 insertions(+) > create mode 100644 drivers/net/phy/motorcomm.c <...> > +static const struct mdio_device_id __maybe_unused motorcomm_tbl[] = { > + { PHY_ID_MATCH_EXACT(PHY_ID_YT8511) }, > + { /* sentinal */ } > +} Why is this "__maybe_unused"? This *.c file doesn't have any compilation option to compile part of it. The "__maybe_unused" is not needed in this case. Thanks