From patchwork Tue Feb 6 11:29:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 13547083 X-Patchwork-Delegate: kuba@kernel.org Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2057.outbound.protection.outlook.com [40.107.14.57]) (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 6BE4F12D152 for ; Tue, 6 Feb 2024 11:29:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.14.57 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707218985; cv=fail; b=ZMXD1YIGwMwvZtsRc1cS6jAN9r/OvzHoiu27nZifgiXvRph5KRU3WuwCdgIx47R4mZXkHqH4MSBZtdoqdNZh6mhucTf0hbs9jfqdAUngAfgQP5C+2FoAJoZBq4Vw3+JsUVMwFG2gOsBjyq5ujcODT8JludtoiM7rO8k52xbYoow= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707218985; c=relaxed/simple; bh=klrbzpJt01DwYKX8HWFOJTdyb/ZN7rGSBpGtoxfDR9s=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=Uf4GIijDIpbcPl3y8xz5w3qY6nQ0hMc2UwshRYpQG/ifU/6iuxxDVmg+9x58kaMObFBW8TnA6HIlw3M0mQVwChLZHhjq5IGom1i/8XbdH8FMU9RNhLxg4pNq1s8nkjSL+pEaPcg9QSl33p2B6evs/ExvDmRvVNgvrsHSpG48rO0= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=nY9b2a+i; arc=fail smtp.client-ip=40.107.14.57 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="nY9b2a+i" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sn7ZVVHVFMBUO/CBsgIUBvnooEmY8Ss81mjC9RVMaB6AJWAq63Cdn0Kssf3A4VcoldG/GDzXIj82oSO8KV4A8+Ue3gnUqaqbQhQg002i2XY2WLLi6UYyTl5dv7VVzROpfVUhQRKjg/kzGLwiOgwb46RFgeDglGWPjF31b7Mz6A6j7fGCrUB7pm2NtHixTOpsm/rXRL4kCydiau4iQPmizFETbXIMjV0kHCAUbnqQ429SFzr7bTbMrLNwiT1zXYWwyZVMCGorlmThAhZPymfDI6CedtKiX1PzpMxlcTLZ+wJUtEqEF+zyGeeaDntehwceRXfc3Blmeg0L3TB5XhxQLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZwPiCK3y8s5IKFR4F9ymIASlpMhEvPaCFnp0zGaoWFk=; b=Sz6RWDFwgokPBs25ZTA5L2huBA4Q69ODYf4nA82FU3xTO2bplZE9/KCMBH9mHdf8RmF/0ipxhuGPuM25gAQB/OIpotSfP1O1KnpcfUpxJEuJRW3i8fx9OI4r36kYGTWms3dzxDB2y37ylmv2q1ER7bKBPcUMYc8uEGTV8POSdVGfNy74VfLn23JlEiCOUdiufQngsBfRQ9bKkoggYZMvZHO5nGZSc5fYl/5+Ygh6GT0kQ8Vg1j5OQiE8DscgTDLT7+gCQak/6Jc8z87WHA+a7LOSVPQ1H5jc9xt6OqhIAg1awy0ksMbMg5Au4KfbO+Fagn2OOc03/bpEt46TC/WMWw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZwPiCK3y8s5IKFR4F9ymIASlpMhEvPaCFnp0zGaoWFk=; b=nY9b2a+iTkdIkPE5UffAxeR0GFS8Btscy3a6JsPqqv0CmfYuToJ9cZF/ujCsyLG+9w/XW3SLBtSX2cIQoTKBIMyyZQSuq6FA2rn+Fk/Z4lid03Bb4J+uTeG9B8byEMeFIfcWjjeakI6o+wsN8pq71F3SX/dgE0Rt0tBc7tvhKaA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VE1PR04MB7374.eurprd04.prod.outlook.com (2603:10a6:800:1ac::11) by PAXPR04MB9057.eurprd04.prod.outlook.com (2603:10a6:102:230::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.36; Tue, 6 Feb 2024 11:29:40 +0000 Received: from VE1PR04MB7374.eurprd04.prod.outlook.com ([fe80::62cb:e6bf:a1ad:ba34]) by VE1PR04MB7374.eurprd04.prod.outlook.com ([fe80::62cb:e6bf:a1ad:ba34%7]) with mapi id 15.20.7249.027; Tue, 6 Feb 2024 11:29:40 +0000 From: Vladimir Oltean To: netdev@vger.kernel.org Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn , Florian Fainelli Subject: [PATCH net-next 1/2] net: dsa: remove "inline" from dsa_user_netpoll_send_skb() Date: Tue, 6 Feb 2024 13:29:26 +0200 Message-Id: <20240206112927.4134375-1-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: AM0PR08CA0028.eurprd08.prod.outlook.com (2603:10a6:208:d2::41) To VE1PR04MB7374.eurprd04.prod.outlook.com (2603:10a6:800:1ac::11) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB7374:EE_|PAXPR04MB9057:EE_ X-MS-Office365-Filtering-Correlation-Id: f7490dc7-674e-4cc6-3a4e-08dc2706e82a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dqDUFt48kvuaDLwCBe14F1kAtzO/ney+fFkKRa1TTxSzlZAWKOr1AfJ0NgsWR+9E0mCgOimc8yNBLMwCnvMR2swdI0LLv58w67VC6SunfqZXhT6pAOkxagUC3W5wTv8GRL8qX+l2MAkaSBa/Z6h2vxpJUyKxdLUn7oF6UEKMYctuSUH8zwUWg+o5uEXEddqyXJvaT5MxMI1Ty3haPPOxEvffXvwF0auc79KfbRwovLmFbPiN6h1Q/jW9AvfRIEfjYI1WBoegKvn2tkUIARaOWLtFSfgz642qO8LaXdi5p7GOkwCeJIsbyGK0B1oa+POzHLTDTLEPs8UKCg0XD0+B/FYaZE2jsbP/RZDHYfBuNX4nh8Jh1gIHWrBaSOvEFH6U7qHuMahvaxfNfYTe+Y8vbLEAF9bStgnE5L6RnzE3hclTfvFYmeAIC7mdBb1Z2TxE7cypRG0TxSRCPxR9bLlIIOV06PP3E98KiTsWL8hv/9uiw0y193+FQ6x0neHAbuSXRMihN5+8z34KkXj1g08pEl9VxVL4pC4mId5qILOSKo1CqzmNFEtN3bCD23351yks41V0VG80czUtJOiv7W66eoxnEorVby9Ld6Vp8S5UBh4l5FHxjS7yuZdL62fQ5MqA X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB7374.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(39860400002)(136003)(346002)(396003)(376002)(230922051799003)(64100799003)(1800799012)(186009)(451199024)(36756003)(38350700005)(4326008)(8936002)(44832011)(86362001)(41300700001)(478600001)(6486002)(66556008)(66476007)(54906003)(6916009)(316002)(66946007)(2906002)(2616005)(26005)(8676002)(38100700002)(4744005)(5660300002)(6666004)(6506007)(83380400001)(1076003)(52116002)(6512007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LygfjJEqJXAb/hTdB6gVqMOKwmBDYHQRCGYRVWcjfl0f/pr6ghu7M6jS4GbUmExNL+hnHuE0v3wM/lGXbXvtUvG8jTuXquM1RhL6hmhGIzPjo0zy3S13a7tJRtc5uKOEEq/gmPQYqGngNFBblZ8NGAbzXPomvs0F5m0k27674iUXagK7fqplU7I+Zd4R/vN0zfw89XtK9tqWHDmAlETfS0lZih3kS9KP3pJjH/7aZ2WqmNcA/VwnzfD5M3IMmwiLDUDFU7BeDmfZmoLL4m5bPN6dg/Dgx2ljyP+YVNxaYmlHfwNYVdlDPp9YWXHrDNjurfQw/cbuave9EH31DIvdgqyJwWigeQn6Zbgn6EhiJheKAzXF/N1m+UpdIqeP1HhM71/E3nTSoiRNpr1Fg8cDSSZfZ41rZIdCPIYCGc/50jrNoiiQRg1SBjkoWGGrGLDGt6LiZWpbpVapxQEH5IP/p8ZcCcqEGS6hFJ2CN555XYAXEq9X4t25VnFn4eyef4oKtBEKt6SNV8ommk2IKzYPU/VSKBB3yLdaCOQc34lTRfXlYRdIZYrbhL664MklpzuiIrYhX2n00ytL4aPSkyC7IIomukSVFKD7ou9oDdX2qMBvTyX8Rz0n0jE4KyKmzQys19aXIcBkM+Hb4QlzzRSNDPflPVFt/au95pYmFnt/br0hVEbTPOv1nWfSxjFo+XyVClYUtQCw1aSa5VNuUMryce99I6wXrUeAEbxHDI5vT1/5bMi1iKdpa3M49SYXhFmHfHcn9TbnDA/aajP/AaxHiNsr4J3kAjItuazEXNahYRnnqTNAfZhNEgTMnoDYVVsX8ZocAykqQiYlKazkr0NYyYgYWZQNRLzBgSRYKsfubt+oZ3rPR0lnDFfg6Pbb9L3cstCPRNiy51Hen5dEjY7iCI9iNbJv67bMgBSG8QfKISIApwL9UPR03j4WhaoqNRw5KFI/KOnxfNhFUdrG0PiTP0ENfg22lw73iJ95QTSc4J+oE9zvtj64GN9rZ0w8uhacgdxQPcz82DqTlC/DBOSx/e+TH56lUpv/oJ6fYQn1PGnQo9BEyphewNz+xroxRAKG72wyVDq65wv51yjIHcs2/p6/EGlGyVt6+BA2rMFkaApB90+nv0hJ0n2RT4u3eM07Qws0Pvfqt52B5gcNpnyMePtu82ueqXgAx8qWQvKl1td8r5ea22EJQELSOnxPBq/k1A3JDrZ+5kU3l3Q66S8UxKoxiSVKDCyrdTUZkta7KdAFrXWnO3wmnhbpWGh7cnvN2tVf/v7hIFT9mu6aw5NofNU+AcSGrileYxKsftMHfKQ12yg+hcyTIDNZxwB/jehYbLcLuYDAE8EUitlRg9zAEANr+pyPFYs7426EMmrZ2rHGoVucqpOznmBAcXn0I1hBvJpya7TU/laxhxj/h9QpdIpBJf7ZMBQjt9K2CV79C31AVkkNtnyssYWq5gp7hZQ206Y2XlzxoShUl9PgDKaxpWrWLHQhCTkwoPvTXTiNjLXrm54/psRHqxru60fiIlKZbA3YekaTBhoiw4nSe+CbvOiMC8qPp7viQouq1VbRXwSwS2290uHXuCO5ttwllMZ1C3ODlhcT3ZzMtIyrjPXdCw== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f7490dc7-674e-4cc6-3a4e-08dc2706e82a X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB7374.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Feb 2024 11:29:40.0844 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4sa/PjMvxY7ZfYe6E8iwZKRBRCg6sx+Glyxz/8K9T67i5TuNzaeNa7/F4Q8zkrlnSLECYNHRq7MzyW1fc4Sm1g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9057 X-Patchwork-Delegate: kuba@kernel.org The convention is to not use "inline" functions in C files, and let the compiler decide whether to inline or not. Signed-off-by: Vladimir Oltean Reviewed-by: Simon Horman --- net/dsa/user.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/dsa/user.c b/net/dsa/user.c index ba2e53b5e16a..5d666dfb317d 100644 --- a/net/dsa/user.c +++ b/net/dsa/user.c @@ -875,8 +875,8 @@ static int dsa_user_port_obj_del(struct net_device *dev, const void *ctx, return err; } -static inline netdev_tx_t dsa_user_netpoll_send_skb(struct net_device *dev, - struct sk_buff *skb) +static netdev_tx_t dsa_user_netpoll_send_skb(struct net_device *dev, + struct sk_buff *skb) { #ifdef CONFIG_NET_POLL_CONTROLLER struct dsa_user_priv *p = netdev_priv(dev); From patchwork Tue Feb 6 11:29:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 13547084 X-Patchwork-Delegate: kuba@kernel.org Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2057.outbound.protection.outlook.com [40.107.14.57]) (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 B87DA12EBF0 for ; Tue, 6 Feb 2024 11:29:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.14.57 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707218987; cv=fail; b=DAOCTeAB5pAFpR8X/Bu20HBx8GGRzQdWZ2i4S6zJ4TvEyrGP/e7CsEU4TkGlerUD5lj2JfHq+MXGqxLcGMKe56wuOtbKmfxtB5BrPzimRc4f+CYLjbRu27YwbillBSSCeW9iXrnAzjhM1SWT+2jFV2VqvQZFnAfCj/m8f2T7MnI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707218987; c=relaxed/simple; bh=q3Yajsj4A2WFX8f/rC6ThwVlEmAH3DH8Hn4j1UVJhGo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=YijKdbq+M/f0cffFZuvRj1/TifqywQuYgxOVebZcPST0rFRKywEzukBcDqKTj4eP/vtijqxFWiTcYq91mZ0wXKmvBMXL3FzYNcFu6iFV6k8xfI/Q9AEK5rUst1tyqBH1sVVBHA5vm13VNTo8dCyuhtp2Hrn+oL1I/iB2QkxwM4c= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=qYd5swwU; arc=fail smtp.client-ip=40.107.14.57 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="qYd5swwU" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IDUpEEiBfSA6PhYL1ZaseEHjsIzIHjcKKEHkBQhYrpiwdJccj96o5BPlfqUfgB7VDyiEaeISTRtjetotesd6cqfSiETAoo26yMXc2gcA4gRFhac8tCJ8yT79AvevCJtXor5KfIAdP+TH+ifteNMpj52MEqz4krq8PdhvQT7SlsDtKKwm2IkpyqPX97sk2D6F3Ek7XqDGsDSfzGmit0NvTg9UNHiE4vg2J3taNvQpuvG4Cl53GOLOK0uuVvjmKwFTodF3RGmpOyQfSN/u/jqacxLHbp7rXYPt60Yfyx7wNjxgDopDRBWN3qj5Fxv6bJWkC+H4An/ntLBljbjZzPkAbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=guHR6aKZklc9e/p18GgalTV/YMmkWlgahxzB/XkbK0g=; b=jAFFrr2je7xtgjYLWG4FmNj3Ejm/rQlJ+robGdVAfIPdA0vXuNf2rRf6feLpK/wUvLMLPTRRZoqZOXjvL78tHGLsrtnqpmSpqehdEGuPq/J3furwsnwzO+mfo0kHJsDt7x6G6mQzEk2EjJEy2ABgpZvU7ITYmHVQHU8W/Zb2c9D04pvPMwyBZoq5MClz8t+2yHAJUi7WgHNaHhjt8EQsyPTnuINuAD08HB8Lo/qf4diyeLIxx5HWnuFwXH5L8FQ/0Sbze31T7kILdM/xo0zkR9in5xy7m9H1i/3R8tEx+W0uH0z29HcbjOJN3r+LjgCsiSnkD1bdYr/3db/Hf+fo3A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=guHR6aKZklc9e/p18GgalTV/YMmkWlgahxzB/XkbK0g=; b=qYd5swwUcuzcy8Y6Ar2nSiDwzoC1L7egueJAiAnrm3o05V2sJjhVq10Xv0TuycV+5uNsdcCoyXSiEEDt3sw0BIIp4DoXy4qp1geV2IhR8N3w516BeM3xBZyNs4sdY1D90bc5K8ThCC7+5lXGSVeMbMa3+Vot66W0nijguyytqfk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VE1PR04MB7374.eurprd04.prod.outlook.com (2603:10a6:800:1ac::11) by PAXPR04MB9057.eurprd04.prod.outlook.com (2603:10a6:102:230::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.36; Tue, 6 Feb 2024 11:29:41 +0000 Received: from VE1PR04MB7374.eurprd04.prod.outlook.com ([fe80::62cb:e6bf:a1ad:ba34]) by VE1PR04MB7374.eurprd04.prod.outlook.com ([fe80::62cb:e6bf:a1ad:ba34%7]) with mapi id 15.20.7249.027; Tue, 6 Feb 2024 11:29:41 +0000 From: Vladimir Oltean To: netdev@vger.kernel.org Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn , Florian Fainelli Subject: [PATCH net-next 2/2] net: dsa: tag_sja1105: remove "inline" keyword Date: Tue, 6 Feb 2024 13:29:27 +0200 Message-Id: <20240206112927.4134375-2-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240206112927.4134375-1-vladimir.oltean@nxp.com> References: <20240206112927.4134375-1-vladimir.oltean@nxp.com> X-ClientProxiedBy: AM0PR08CA0028.eurprd08.prod.outlook.com (2603:10a6:208:d2::41) To VE1PR04MB7374.eurprd04.prod.outlook.com (2603:10a6:800:1ac::11) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR04MB7374:EE_|PAXPR04MB9057:EE_ X-MS-Office365-Filtering-Correlation-Id: 0edb6dcf-0be2-4405-145f-08dc2706e8c5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ihn20aVlmlwgHaniT1gLFtZpnqIFCBSEN8drJd1umxnu3UvltSRWeHAw29cKOqJ0x7yH8rABEJqqzdrimqEBG7TQrbvST1S7TolsubO28iFpRJap0PlGysnazu6S3bOQh19ytzMpXdixeAsSmEWXR9namQyhKTFoM0/Sn7w1b83IqktIFNoBxqAMqZb/cyA2KCyRfZ/irHCVMNjqn3UrOkl/nrY1WQJCbNTGoZ4DZCPYpXAvYbIto7FV//55KA9F8szzHguAW9+iN1Klhb9j52d2UDy0hRQBqHTQEIAXfAWkemPVuMv8F7lIaTbKxCYvjUVNcZb5/6kKzq0GctNRwtlzf/yShaby/CehscSFTD7xaL49D1pJSNCoQotZ/2mvMGYhE/nLikyMyGcfSVdR/xnsC59VM8frdb6ujDtxGajo4slWmM/Q1T8/2wHe19SeLy6lPPj2dnIvi8ei2mCK8LO83uQihdqR03WCEfYR7QUheb26pNplaEDk+Guf33AMhBSFJm3QSkSr3oO7PvRPNNgzeRfwt3QsgJw40gINP7Y+P+XVdYkLYuuNlzpA3h1UJiXh42d8m2ESKlW6a/4twlIcEXTTgqvbnl9/xloDLBZg4bcH9WrOdebdiqLicN9t X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB7374.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(39860400002)(136003)(346002)(396003)(376002)(230922051799003)(64100799003)(1800799012)(186009)(451199024)(36756003)(38350700005)(4326008)(8936002)(44832011)(86362001)(41300700001)(478600001)(6486002)(66556008)(66476007)(54906003)(6916009)(316002)(66946007)(2906002)(2616005)(26005)(8676002)(38100700002)(5660300002)(6666004)(6506007)(83380400001)(1076003)(52116002)(6512007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LSwFVhZUuDk6MzoPAcsWPRbjjyEKtC2IEivkxRh4bRbtTv3LIeSuWMs7bWldSsY6VCNiQovKqA6Z/DhEAMA4hWT1ZPp6/ovRTmnOUmzPvIfYNvDQLXkjSgwHbgcdh62yVqf22y9tIV99NO7O6kCNYUCbkDKntEWmWrJ78TUMzOnYp6QavwG1jYbO84tQbqVSSTWLVtmzjlaMkHrtYpqjL4vriI5DuwGRCY5X317ajtY8QF6LDqAjvh7c/qHv+NhiiUM0Hys38rJwSv1VDhs2j0q/N80AVi51vzBfVBLR6sF3A9It7KwRABGtS2Nx2LXDWRkOEOjNjJIuyioIzwCf0kvS2sGhUL/Cl3JqrWVTNzpcDKOEL3hVYeqqTmNjtorLMh/0eUn3YM72sekpLW+OUmm4KP8s4g1lkqKcfJ6j1VRuQ7rZl/411WXmBkrxEgWKwpnxA70pHWthMnYzaRbgNH8D8fd1Qy/dIzgnleMeLJfJYpSKAQwX/f7yEf3SRYxYtE1oyp5OJDSZb0WL6B98ybb5xaTllpxe/Su496sUZBJPb1T5Sw20R7wBilkpu4EwxhS8YfLlMRDQmZG939mOQHwxayVB1Eh5z1f0Ou2am8mef6SIp/2QuwhHcfN8KB7wXkf8vb0f4vxl1dgWukWrdFVaccDQFiTpiuqpl/E7IVwR4vKVhdDwPY7O9TLRQ4tuneB9o4mYBQP9mXusm4SBXVBpgJoh4kGaFpizymLsVg1CLOgiaK5UTz8bqjUhtSprSbzLGFFX2D1c8dvxNXNaB5qSqcubSnq0dvwdQ6z1dJzkQPlXJKT6e6yMaziBagXVSH1vWFudf2tP7ky+OcPVbZ/3LeKeUGCqoIWrlaoOuMPwKuQbV2KQHyySb7/LMRUVlVn+czov1SA+fKSwwh5OEhlqGekO0fxzy6//7fmZ1hgQ5B3zmfHTe/1BwMqNVqazS+NY6iFzVAYptkLTIdHDHmQK/jouhu1le+tLU010qSkmX2SLCyrcbEpIOofLdMYVPxDep467trL6G7ttZ3E3LJ0j0mrVb8iZdLN/3ZiBg4tvKusbh30gokVRVE1LpT4YtLJvSqpGjC3R2aj3Re55/pSxdBDfGol87HKf2iigXJluccugHBvRFSf9l0qCDEx7pOu13lWsgLJl3paax5OqGsOq+SHkIM5wJGlM2VnQj/6Os3otq9VRJH1NSeHlUm2UPAz+b5GQaq+tHTd8q9fIDrHWqkfyV02+VJVOyQw4N9FlkTCsynzwHRaC/MBId+tGnJJ8l9/D+DDHepd5sO0EotBMzu3xudQxew4Rrz0/YU8HhxM9Qvp6GkzRuCA7mwqyEBJHokGu8qHPQWdAKQ9Jz81Ld8NyU8u42QdFPFItGDQEE6QhMQ9Mx4IUrgcY44aVXD5EAMHNHn+RoBzUpJMWn6YSvyfUofLazAj4WgXVTUXi4ua1FjEzxkUoeQSqaU2eOKynBXeH2bSzlzVvFWQqCK1nD/uyP9+QX3KlBqWwZq3R72mVXPrDoWqNe44g2DgPVOk3YQDLEhWLv582CUmwYewEqCZCEOCK6YWwZ+adZZwnB0ah0gWXt77rlRCHhPK7DAzKiSi7xZIt0GZIebCRjg== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0edb6dcf-0be2-4405-145f-08dc2706e8c5 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB7374.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Feb 2024 11:29:41.0991 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: jD5Unk3Er8L+jB72GEzU4H1IlUIIGr6n0H0cYvwIp0M019DwWvR0PDZosm8dPseBs36NrSJ6FCQrAoYvBYgLow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9057 X-Patchwork-Delegate: kuba@kernel.org The convention is to not use the "inline" keyword for functions in C files, but to let the compiler choose. Signed-off-by: Vladimir Oltean Reviewed-by: Simon Horman --- net/dsa/tag_sja1105.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/dsa/tag_sja1105.c b/net/dsa/tag_sja1105.c index 2717e9d7b612..1aba1d05c27a 100644 --- a/net/dsa/tag_sja1105.c +++ b/net/dsa/tag_sja1105.c @@ -75,7 +75,7 @@ sja1105_tagger_private(struct dsa_switch *ds) } /* Similar to is_link_local_ether_addr(hdr->h_dest) but also covers PTP */ -static inline bool sja1105_is_link_local(const struct sk_buff *skb) +static bool sja1105_is_link_local(const struct sk_buff *skb) { const struct ethhdr *hdr = eth_hdr(skb); u64 dmac = ether_addr_to_u64(hdr->h_dest); @@ -121,7 +121,7 @@ static void sja1105_meta_unpack(const struct sk_buff *skb, packing(buf + 7, &meta->switch_id, 7, 0, 1, UNPACK, 0); } -static inline bool sja1105_is_meta_frame(const struct sk_buff *skb) +static bool sja1105_is_meta_frame(const struct sk_buff *skb) { const struct ethhdr *hdr = eth_hdr(skb); u64 smac = ether_addr_to_u64(hdr->h_source);