From patchwork Sat Mar 12 09:58:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 12778781 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F11E3C433F5 for ; Sat, 12 Mar 2022 10:07:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231630AbiCLKCl (ORCPT ); Sat, 12 Mar 2022 05:02:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbiCLKCk (ORCPT ); Sat, 12 Mar 2022 05:02:40 -0500 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam07on2110.outbound.protection.outlook.com [40.107.95.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 749BFE0CA for ; Sat, 12 Mar 2022 02:01:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mTE+xJqnkC8NThiZT/lSgi9UFPDhEPJruV0Km13+2HBCTKlTJtZz04alq2z2MelUCsHdYCUAf5P1zUSzLZgx4q4nZ50pl4OG70fJz17y7jnXNhCUTUwpEbo5kuhkf8avn0KZ5dz2rTpFt6gesDiJzPhkGbsXjLq3nzu2Pty+ByXj6fQIV80abVTwTR+Q4KHItieHXYCiz/QcfbefL4rKW7qRPqg5CaVFypNGCxGVM+aGv4HvBmpki+r1KRdzDx+zYSYSO2ak36Ib+tpfAVMooq4u7kId3V+lVF3EsoeMgIEY/Ir9pLydVM/NlBf6deSVFNcb/xCqR14VekYKOacDNw== 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=FilKcfGqPzAHIqeN0KKShoSTxABtAxVb8vxS9HZxXUk=; b=MDThPr/tb5hsrZTHQxiwCGKjMh9/E+ElwNYO9Q470VT014yD6hJIxeV1gQdZz2hmwXH3p3oRgTMiZGywfkYPN+TpQOQSirUYmaKs5oX2OQo9RAEA1bDbMt6Kg401boiXyeXu4vrlsrY3xXWi4mtVL1Zt64w0hIEwK1cDmlu7KQNKzIfSdFHD6bDCL5e7TtgPdgsvtfAs6UEsXySVxzyxjN3e2Mnq+NdWqO3n4LTIHPvb4wIjtY3E6Cc/Tezw/8gJM5rYAA9zOATF5erkKCflH5xfcSTT27caWnXe6pZaXhhs725VR83fw3YTaDG7Qblp9aaxPfAkaBCpLTGC8a3tlg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FilKcfGqPzAHIqeN0KKShoSTxABtAxVb8vxS9HZxXUk=; b=uv7vlAXOhTr4qXYWDDV2KCkIdQHgPjTVNaxlZ6GRGqdhpJYH/oDmD553g8+aNHlGvc9pyIKbpq71a2PMQihrbG/3MlfcOdN2WKKudsT6bwaCU3FSpaHMgHXaE2KTXLP+1c77/eveHLFudXRBC5SxpP5r6Euym2gY0jdadBRA1Hc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from DM6PR13MB4431.namprd13.prod.outlook.com (2603:10b6:5:1bb::21) by BY5PR13MB3538.namprd13.prod.outlook.com (2603:10b6:a03:1a9::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.10; Sat, 12 Mar 2022 10:01:32 +0000 Received: from DM6PR13MB4431.namprd13.prod.outlook.com ([fe80::e035:ce64:e29e:54f6]) by DM6PR13MB4431.namprd13.prod.outlook.com ([fe80::e035:ce64:e29e:54f6%5]) with mapi id 15.20.5081.011; Sat, 12 Mar 2022 10:01:32 +0000 From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: netdev@vger.kernel.org, Jakub Kicinski Cc: Simon Horman , oss-drivers@corigine.com, =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [net-next] nfp: flower: avoid newline at the end of message in NL_SET_ERR_MSG_MOD Date: Sat, 12 Mar 2022 10:58:23 +0100 Message-Id: <20220312095823.2425775-1-niklas.soderlund@corigine.com> X-Mailer: git-send-email 2.35.1 X-ClientProxiedBy: AS8PR04CA0047.eurprd04.prod.outlook.com (2603:10a6:20b:312::22) To DM6PR13MB4431.namprd13.prod.outlook.com (2603:10b6:5:1bb::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dbe385c3-716c-4394-ec4f-08da040f489f X-MS-TrafficTypeDiagnostic: BY5PR13MB3538:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qtxeoaPtSiIR3YOYhc71ol5zZVrZtgXXHX4OAJVB/dLoUdt7LWQ2swpw6rO9P37u3Yx+yfvWIQtIEZzWiBPRlmCL1Ek+oNMBiZz6E+jMvnwC9IFbDlfddtB3XAdTy2FzsPT3BIAj/FAgkjKEcMiQ4FodSpWn9Qrlp6hioXsVLRzMks/wJe1k6Cubhc96e9/w6nb7s+qXiQ12S3hWZfqlLqkLLF7j8Q4ZWVCfspUV6NI8ZNf2N8cPUNwCvciYfJtpYIFJrQ+AX98tM/AJix4U7QAW/aKBixV0YcetSg5EO3r+jGCF4MAqpWoWJRiiUahtpW4BklDS90WRfJM53Zwg3ZDjM3LmvPXdBVVp1bP2xno7Hop+Me6Q9NznAxUt6fGr5b68aISMy+HTkruLhw946D/sXjkY6iYfY+W5PTKzTra2ILqQveTD6BlcPC7xgWrOguHy4CKuXogesqC/YbL4jTxr80ZfXZd6pGEdnrOp36ASBZQC+TCYJgJ8+A7FdvPGA6sD/r6cmgoKkao0qiF10xZ8qjgMXSvOEN8Rc51g9NCwBqJb5KS8GbJwV0RqwOHRIXC8V+pUbo0ofJ4Vw3QGEcBfSexRzqpzNwmgzJpNFhR3BJGGIczUWj1d1iFYdGuWhQWMM9UVuHulj385k62HwiGcwFj6DhMEP+VkFreMlYzWs9zFVBwll4PE6CzCtogSe3knRuc7chF5JwJlNSwEfmCKYGz7CPEtAD3ZQEjlN/eGItk+dcxTbHVzNPIuQJJ3 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR13MB4431.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(39840400004)(376002)(346002)(136003)(396003)(366004)(6486002)(15650500001)(2906002)(316002)(6666004)(54906003)(6916009)(86362001)(4326008)(508600001)(38100700002)(38350700002)(66946007)(66476007)(8936002)(5660300002)(8676002)(66556008)(6506007)(66574015)(6512007)(2616005)(186003)(26005)(1076003)(107886003)(36756003)(52116002)(83380400001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?oMySBb+oLJSpTUf0PJA/8ltVGp/B?= =?utf-8?q?jLvlcGpXWa6YRsWp3B9tJZKDzeRU6mUeByVEWP+bfzet7sBojjG1K22aYk7MYXKcb?= =?utf-8?q?3xRsofj4V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Lyr6qb7H75tEf7euan0fL1oNTDeAgO/8wE1IDTAAjFxGAIrIbRghHk+XmM?= =?utf-8?q?KOp47Zg5WD5xr310ed/WDmfEovug/M0u+Mf0khF4YOgf0t9xukhFFgP+2tQz3/I5a?= =?utf-8?q?cnhPxuvVLt1Qv36yLKU5aJXvUNDnEjQMWZTBDtwvROT59MT9VMTDScSt8P7TuspsN?= =?utf-8?q?TZ3z4c1n/aumY5/HPotEuIKs2ErUbJd3J3IavI9fZactpNpJ0dCoA1ncb7NFW98gS?= =?utf-8?q?U7ykIBBdTDzOM9Nzv5Vuk6GOMAgPsOHLZHEh4qrH0Z+N5S0EUHC3Rvex+afBEKgko?= =?utf-8?q?530+B2o726mMb8fgIp3ip7fq1qY3btmBOnwbg6RZeFjre+7e881eqVxrlWmchoGXk?= =?utf-8?q?/ZZM8FUsHBrTTgs2Ip+boegglbZZzcc8Qc6DxQEc9Tc7zWiNiNdVEiFvY2OXN6Cwu?= =?utf-8?q?CUTsjIy7d99sTtPXCdEiX9pyR5jgpl7sAXcQ=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: dbe385c3-716c-4394-ec4f-08da040f489f X-MS-Exchange-CrossTenant-AuthSource: DM6PR13MB4431.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2022 10:01:32.2380 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: aVELAJamKx80nP9iE5bTMKM4GoqvP/qG0IgiMdJQwzodjeMS3Ei/mSwaeWkrF5LWYwF01t3KvUQSNua+HqUCQ3P7oNAnatE+SXXOnMLM4mQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR13MB3538 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Fix the following coccicheck warning: drivers/net/ethernet/netronome/nfp/flower/action.c:959:7-69: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD Signed-off-by: Niklas Söderlund Signed-off-by: Simon Horman --- drivers/net/ethernet/netronome/nfp/flower/action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/netronome/nfp/flower/action.c b/drivers/net/ethernet/netronome/nfp/flower/action.c index 2c40a3959f94da31..1b9421e844a95e2c 100644 --- a/drivers/net/ethernet/netronome/nfp/flower/action.c +++ b/drivers/net/ethernet/netronome/nfp/flower/action.c @@ -956,7 +956,7 @@ nfp_flower_meter_action(struct nfp_app *app, meter_id = action->hw_index; if (!nfp_flower_search_meter_entry(app, meter_id)) { NL_SET_ERR_MSG_MOD(extack, - "can not offload flow table with unsupported police action.\n"); + "can not offload flow table with unsupported police action."); return -EOPNOTSUPP; }