Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp460267lqr; Wed, 5 Jun 2024 10:49:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWt69aU3NWWMMZiNJWYAiDQ1xaQr+zR40QgXNVNDXtznx+sDS5MoZnJ9tLE2Np3GxioS+1YTAKRqir0LNfX23S+Ro4YX8pqVDUah5DQIA== X-Google-Smtp-Source: AGHT+IHy4MzafscWvQldvzoiwV0430w2TL41bfAWj426K6IcIgPco90Uqrkt6NZwMtllBb7iheW2 X-Received: by 2002:a17:907:586:b0:a68:98fe:f779 with SMTP id a640c23a62f3a-a699fac1fbdmr186059866b.43.1717609741537; Wed, 05 Jun 2024 10:49:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717609741; cv=pass; d=google.com; s=arc-20160816; b=Y4R607tchc8sw/B4u3pdyFZNFi3OVH8cjeLu1b8jduSRKU6QFf/QEEGc7TLGLdLRF6 4pNSY9uMIpKcn/g1DbFYimpdL5zTMYvBge49LX21jSDxu6xZFPGFk0ZwbDpAC23tgr1p arccI3ZlNmWbSJWgdhXUE/wceUDGNUoEa0baIs19qiMjlyxWTerTwJaGW+8k9LUeQDdT fz44bT3DwCm/QZGIgiVKEOYVJbmyKT6pHpsKEaTlcFR9NPWs+GsJ+Agmpd3CQEadeQuS s4nwjXh4ZawW5pBJnhaG3pt7ioT1wT6p/7dqsHTsLYbkV7WMN61vxDcJ26OaSVDr6LxT 7NuA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Hqw7GviySkR2da0e4bmc77cHe7GnByqqXg+o9A0So7k=; fh=D1yCr2pLd8vmwsgmD/RkI91apq5yZf/XDL4mm2AC2DY=; b=CklTPoBBIaJPeCbD26NCyJJRUQ/PzdycLRgom9fHbvsYoj1MJKr7zecKZDbrqRIx13 KSLNir+S6d800W9eqWA2KpHqin1pXkxdexmAiO8qJ/UvFlSHkz3Ag9V96BC0fi1MxFO2 2WvXmr6Zjq9UvHUk91nB26b/IDtQaYaYLGkoZfOwosvfgcyS+PpGCccHXcgX5o6Lf6gv 5KAJkP5hwWN39v3w/TrFXqZfaRtwszObNs+vvY8ioI6P7XJQz7vuAudujSZfa9CCpfuJ RdDZdSHpgPt/sy/qigdPHjXkaWmJJ5N/Cp5xmMxnw8/KISkzZYh3TO50lWVFxC0GI4sL 44Gw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q6XGPEKJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-202988-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202988-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a68ed752bc1si404274966b.599.2024.06.05.10.49.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 10:49:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202988-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q6XGPEKJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-202988-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202988-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A05111F21904 for ; Wed, 5 Jun 2024 17:48:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6804D14F10E; Wed, 5 Jun 2024 17:48:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="q6XGPEKJ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 861E01CFBC; Wed, 5 Jun 2024 17:48:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717609705; cv=none; b=N9myrhPn+fA6hdWg0uUU7lDBhJpAsSuMGGa0S9pa6eKb8x69E5oWuxSF4rptkhtRyEZlJ0UtuWw0L7WgImyzMEXuOssgVD96kTgKdD58ntMEcKJlcDeYRpSN4uSjQr0HIwxq9D4FHfA72IB5+I20mM4KAIu0QzRSCo09nl0TDDI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717609705; c=relaxed/simple; bh=enupfRHuA/sUxcPvYiVVg7oNNALRyFrXlotRKy7IvuM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=i1cNbuuJULO2rdN5xMhNoDYLGeiizVSj0nde0zYzmX+8fBtgWkatdPiJPiQwrrU8AUheqB+1fXVdz3dCbLhVOrK4r5B9DHJl/ajsEyQAlLVdC3diLbXfqNBP8unOh+d4LiqdopqVqU6+xtZXhgbv34sxg/xI8VLgbQb1R+10t78= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=q6XGPEKJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E54DC2BD11; Wed, 5 Jun 2024 17:48:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717609705; bh=enupfRHuA/sUxcPvYiVVg7oNNALRyFrXlotRKy7IvuM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=q6XGPEKJV+EC0QMabsGEV9vd0/gyTkTUfF+TAEXj9Jy82MgO8X2lzIXWqIRAyBC86 p4XFyPX0I/WfDCqM65cOTJJ9NtKpl/hvtdUdsUpBcVVWkFc3jG6Q8rAEkBNStkNJs5 EeMBLlqRH+zZaZrNfQwk35LbS5N95a8bjDH9lzLQvjv7h1K8dVURxuxRCT3CuS5mlI wnRXZtwm4GPtEcZMOi8f5BwtzvNtu9FnvxuB9E0f0+/V3OOEXYLQmrnZIKL2mBm75A Cuee7zNrJx1tzlb/W2d4QWFOgOXgEjONB2UVOHmux2fi2SBrWeUwLfey2ouK6lGMGA PlcBGDPnUqH0w== Date: Wed, 5 Jun 2024 18:48:17 +0100 From: Simon Horman To: Serge Semin Cc: Andrew Lunn , Heiner Kallweit , Russell King , Alexandre Torgue , Jose Abreu , Jose Abreu , Vladimir Oltean , Florian Fainelli , Maxime Chevallier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Sagar Cheluvegowda , Abhishek Chauhan , Andrew Halaney , Jiawen Wu , Mengyuan Lou , Tomer Maimon , openbmc@lists.ozlabs.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2 07/10] net: pcs: xpcs: Add Synopsys DW xPCS platform device driver Message-ID: <20240605174817.GQ791188@kernel.org> References: <20240602143636.5839-1-fancer.lancer@gmail.com> <20240602143636.5839-8-fancer.lancer@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240602143636.5839-8-fancer.lancer@gmail.com> On Sun, Jun 02, 2024 at 05:36:21PM +0300, Serge Semin wrote: ... > diff --git a/drivers/net/pcs/pcs-xpcs-plat.c b/drivers/net/pcs/pcs-xpcs-plat.c ... > +const struct dev_pm_ops xpcs_plat_pm_ops = { > + SET_RUNTIME_PM_OPS(xpcs_plat_pm_runtime_suspend, > + xpcs_plat_pm_runtime_resume, > + NULL) > +}; nit: xpcs_plat_pm_ops only seems to be used in this file. If so it should probably be static. Flagged by Sparse. ... > +static struct platform_driver xpcs_plat_driver = { > + .probe = xpcs_plat_probe, > + .driver = { > + .name = "dwxpcs", > + .pm = &xpcs_plat_pm_ops, > + .of_match_table = xpcs_of_ids, > + }, > +}; > +module_platform_driver(xpcs_plat_driver); ...