Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2034948rwr; Sat, 6 May 2023 03:46:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4QW1+TbhPG5QGkhdBdkbaF12hDZFuHYAarGcqo7kn7Luajc9+11ewAajfk0SC2xedHLWa/ X-Received: by 2002:a17:902:efc5:b0:1a6:566b:dd73 with SMTP id ja5-20020a170902efc500b001a6566bdd73mr4000851plb.60.1683369969135; Sat, 06 May 2023 03:46:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1683369969; cv=pass; d=google.com; s=arc-20160816; b=X0BIE0n54gJFhOkG8jUENxCo3lIeHxMTcq471laGfiChlGcXz7CE5LL8AQ5Yk8nvHe rIKRC/NNrsyxUDedimAgNNhpSQTHsTSjvwSGvg2Pnpv4RtMevfr13JZGlh9uwki8Xhgu +jl0bLRN31OoKbyt01mgaPBJP65EcPD1eMeAr+hORvXZgyw880MHLMUP8YqcjJ0ZebSU R1+gyZRcbtQ7JSBpqmqH7/H2L/qM/7m21VIMamgTvcWNwRMMj77LBtc3b2r5C/UgK1Uy CeF3FMKQGEbITLiuukDEIVHG0Clvu6pKGOf9yWFgQesJt1X0CwH2Ws1eh4b0G5QjZ9X4 4IGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=uHFD9uMKZhIhu9zVFzUlQv8llYacZS3if58WJytEksk=; b=LJAcExUHoxoHcXhctcIKRpl+10Lh1TmqQ0Wj7ALzFzDcNtepIrbfaNmOtJKnQucGqX xUToXv7PLa/n0l6MxgdrAhZHpt9Y0iQfB4Pg+DNVOKbP7SA/VISO3Zs99+we+hcuzda6 anDpZo30PoCdxo9S0uDOYlsYruSwEDDFQylfafYWvvyewYXH48j8H1Ugpx/93/Suy10p E8wYWacKO7xPMy5HlNeo2vXOl9qtOHn2FFbwHnmRFI4dsZnsWZTOQ0TGNoKZJ3VxL9uz mI7/zVQI2kVMZPmq6WhjVnInFv+Nt/FTa9JqenyR7JPEwL8EZkg7DOa7l70R0fUrYKWX EKAQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=bp2HeTXm; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jf12-20020a170903268c00b001a21fd27407si3536131plb.469.2023.05.06.03.45.50; Sat, 06 May 2023 03:46:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=bp2HeTXm; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231639AbjEFKlu (ORCPT + 99 others); Sat, 6 May 2023 06:41:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231286AbjEFKls (ORCPT ); Sat, 6 May 2023 06:41:48 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2106.outbound.protection.outlook.com [40.107.92.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3B939B; Sat, 6 May 2023 03:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KGlXHhdqRCW5T3acGWr3mJ+I27WVy8BVOlUFUU6AsTPqTk1iOipD4mgZLjUMsygAuJ9Lyn2hR0njleT7QR8aIB/TvJ0lLHZnJpHzxBhemojqWpkAcz5ysfvmX+jD4pXUtjGqe0u4Jwhpjug7SxaDE/F7000HGbwCmKr9kmCBl1DQEkB2TTWwKbiRpYnNDyCyfKMF29mt8srZolw6/SKxvRuQgDphKSH5SZpDQQ9SXDzBEprSbeg9or4wjxnBINacsX2EpIn3wfu0QB5BNZ9btKknBMThOsV2D//B3FtvKOoj6qza7wFrrJhK5yzbGirECS+q0z8q4UKXQRh1mZ+onA== 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=uHFD9uMKZhIhu9zVFzUlQv8llYacZS3if58WJytEksk=; b=iAMkqB1Sp2tebG9xE4IsWq9uCzAx19UIKuPJSDzHwTr9Bdo9PYxg79RYSEKSKVIsOIBX4pPPzOHqAhZCL6m+Evv4X29FlGyGa/WXbq2Umlgvj8QDcIUtl9lZ1VearSCAgUZbyP9qOr7TEAscY9zZa6X8cqOPLY42zXfUfmQPcoNL/dt2vJAmCZRuRbnRzKv642Tjn129xg1OjrOalaG3WEawJhbmHAd4QmQafTvWmAnt2WLUMqqqPo1hCVGPhtxApTbyA8Pi5G7Y6X2BlIOo7hSDpbFeM6+tbTKwEtz8jJ9tx59vqpXk1z5KPoMquqPcOzhLa4d4lkos1j8Sn6zjyA== 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=uHFD9uMKZhIhu9zVFzUlQv8llYacZS3if58WJytEksk=; b=bp2HeTXmTgYq/8i/GAeIYkzvFMVsmvURP/djm/luvUqjUpAoueZ1q2VVexhq104RLmiDnMDa5G4f+jYp+jTV35tK3p5WqAMcZRG1rOijEBy9HJoR2+1WJl4DoSRJB0z/kHjJUi66H9wKrWERKYIOdHW3wtlk4ccbgaiMCtKS1iA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) by BY5PR13MB3793.namprd13.prod.outlook.com (2603:10b6:a03:226::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.29; Sat, 6 May 2023 10:41:41 +0000 Received: from PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::f416:544d:18b7:bb34]) by PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::f416:544d:18b7:bb34%5]) with mapi id 15.20.6363.026; Sat, 6 May 2023 10:41:41 +0000 Date: Sat, 6 May 2023 12:41:31 +0200 From: Simon Horman To: Jiapeng Chong Cc: dario.binacchi@amarulasolutions.com, wg@grandegger.com, mkl@pengutronix.de, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH] can: bxcan: Remove unnecessary print function dev_err() Message-ID: References: <20230506080725.68401-1-jiapeng.chong@linux.alibaba.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230506080725.68401-1-jiapeng.chong@linux.alibaba.com> X-ClientProxiedBy: AS4P191CA0001.EURP191.PROD.OUTLOOK.COM (2603:10a6:20b:5d5::14) To PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR13MB4842:EE_|BY5PR13MB3793:EE_ X-MS-Office365-Filtering-Correlation-Id: aff87510-9f9b-4ee9-a058-08db4e1e7a03 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GZri/IFzTNdAHYqAAJbsFXzkQNHKKmwsIKZjFghsCxr56gosfzkqFQzyLwM2EkHqvT7GxRHVuRgDFABgZMU0oUnCcA6Rw1N8rxGH/awRYF0+HpatK5kbf5ZMujvtEdU/Ufsm1oSXykL/AODKnFsKKM/lIeAy5IVr0rhE5CESNWnfGClS8UF8zxxgtvgxTG1ftxSU2skkQsPcaC5cx/yZlF0L6VzN+brKBC385EnHKiCJtXmBB4XEDVEa98AZX05e8BmKIqrZTPPjuOgO/E6ypXF+Ge38H9BBGkyWn/ZQtufhLDjWb+GdszUjbzWqaL3czW0O/3KTpXofFUiE3J310BJ9Rm1icYGx0toSPQ8t6VwQGsC1S6GCLGmDOogMrpqxFdRe/5PKkxVR0OV+R/430xOwk/dM26CI6zEeZZsJ3KdSUs5SUcPOwLWq9JEJScxZnqobLgq+YInOQuvJx7PaiUNJtQF4l7hkRGv93cRqRQUf2uhPx+8K3Ecp/6ESW2zppuNO9KaAJLLcjICfI0EAttc/2o3ru79LA4M8fWJB5dA2F4q8ucf7Hk3iD4/7dN88FBcb4NG8bT1yCr2aPX2qFGSKSIRYwgYHrayrDJWpA2E= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR13MB4842.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(376002)(346002)(366004)(136003)(396003)(39830400003)(451199021)(41300700001)(4744005)(2906002)(186003)(478600001)(2616005)(44832011)(6666004)(316002)(6512007)(6506007)(86362001)(8936002)(8676002)(7416002)(5660300002)(4326008)(36756003)(38100700002)(966005)(6916009)(6486002)(66556008)(66476007)(66946007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?n5r6zc7xYZK9L7RvNqkrj9UjB7a/0/PaCr7EnNpY9M4NyagBzM+VYMg1mxIU?= =?us-ascii?Q?h/TxJv1684A8G0sOUDBXaC3Hc/nb2j3JDTi1Wt8Z7Cy/06vQTzkcPtY9SsS7?= =?us-ascii?Q?N9+RdqI1SjvqVy5bUMuwPw6HnLGZQebpJRwgU+BZNITFWeY6bPBQZTCLQZU9?= =?us-ascii?Q?ybPkrX5z8vEWvI6ztJqfrD7pcVXZ7rdqQ5Lg+4FtxEM+Qrr6Z7a0K8QTFjkm?= =?us-ascii?Q?qBAbdn0tDT+2gFUQimGzR1CvZayejEO9/agZlYIuaKj2juqVcmReTgH50ivl?= =?us-ascii?Q?+fYa26XmMQ5sdqOLd6DYxtMwL2sppvXnv1O85E6J4FdL74rH/koDyeL+WS6C?= =?us-ascii?Q?+IEpeRlFjMAF2v4R1A5CJnqUrdLwT8/NY65MQbXVwpygFroV+M5NKB4wY+Qc?= =?us-ascii?Q?mZQypLaiVxfEHpN8Z0xZcmReqJNXMeq9VQQjlhS7ntJP4pEkFynEHDggA2sn?= =?us-ascii?Q?ibiH9Q1b+sesqftlnITrAOVLkxrSIIG83h3J7ct7WoZv4zp38iYFCoiTXVt6?= =?us-ascii?Q?6oywrhVrl31E16nAfN8kkSHkT/xFzl6skjN1GeB3HD/Z1kLvqf8xdlMFa3CZ?= =?us-ascii?Q?yogYvRTyHUQM/502RJybeXBx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gYXGfnk4BelRW8T8yidhEKq4g3HiRIMr36O2OcCMxGTQtYYYUVon1fl2YJx?= =?us-ascii?Q?0ZZY/iKmRcYL7j4pOPRCDbg5PONeTThDqEoSHdrOX1tMxhNHM82/LLQl8iDd?= =?us-ascii?Q?U5D7jME1MJaOWlv+C9apAT/n+zk7eOBtVutVSqYbq2sFUKNw11kkZ/D/dYK7?= =?us-ascii?Q?YuKq1A=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: aff87510-9f9b-4ee9-a058-08db4e1e7a03 X-MS-Exchange-CrossTenant-AuthSource: PH0PR13MB4842.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 May 2023 10:41:41.0391 (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: mBK1kxkS4BNJLTAvfSCDhCeGgmVtrcYKaV3cy8lf2KZCwTxqop2EJaykuGD/AsLuEvJXvjDBv/AU4KsPcQEWrDcadHVhvAma0/HZzJw+R4w= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR13MB3793 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 06, 2023 at 04:07:25PM +0800, Jiapeng Chong wrote: > The print function dev_err() is redundant because > platform_get_irq_byname() already prints an error. > > ./drivers/net/can/bxcan.c:970:2-9: line 970 is redundant because platform_get_irq() already prints an error. > ./drivers/net/can/bxcan.c:964:2-9: line 964 is redundant because platform_get_irq() already prints an error. > ./drivers/net/can/bxcan.c:958:2-9: line 958 is redundant because platform_get_irq() already prints an error. > > Reported-by: Abaci Robot > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4878 > Signed-off-by: Jiapeng Chong Reviewed-by: Simon Horman