Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4790906rwd; Sun, 11 Jun 2023 15:33:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6A7uafHlpd1d6xg68TglaNMK18jL6TL2oyyNLlP7M58zbidG3385fH5AXZvld/1KoIjkZY X-Received: by 2002:a17:907:c15:b0:97b:4c8f:c44f with SMTP id ga21-20020a1709070c1500b0097b4c8fc44fmr6272789ejc.46.1686522794380; Sun, 11 Jun 2023 15:33:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686522794; cv=none; d=google.com; s=arc-20160816; b=rPKSxVMZ1cWiCG1X9OhPfvyBW2vy29z8CUUA5ZenMPCiLUAUzd0XJ5cQt7ARi9XVXG yZagd5Uv+pmspMjsODYj2/cdoi68VMcN2gaxX3V6O3MIoDBX14PPXiqHmv3XZsVhWggx UttwJS55WdM4wDZg774B9rcN0djcbarPaps8V8nyJVXb755wjQlWKFvJs18ldi9dYf7U Y0gcE1cQjbIwlZL6EdMd/Cd27usNto4s4ViWC2mI9uEjKD33ZdLcwcdIlKDW/UT2fb5s mjCJRP5sJgKG3FTJIAEb63WfQOjTR7rEPIvyodQYLg3aMS6rWrhKn6cH/xRX98iHWBY7 a9ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=yxRDp11kkUSCDYPyjLH3eotukV+iNcJUD3d6PD+Nm8s=; b=FWYoOGdUlQj9KtU+oiLQ9bsHeoGNNJL+5t1qMoOMHPuF7IZmJeyNL7hbwghIWDmHcQ NFwL5gCCKGJAGHLCyRwHTEG70Cd0RBN0DvWNpBiq/RiQ5qXUZfSJ4KpUzmJX+Y6D+meS MCr2qjTweOxO6qTS87n6EghgUjx5DDNKl7BnYjzMD/A7OIABnqAUiP9czeTg0Ih2Z737 RWBaSoLItRtRZ9QoF2IY0hSxEYnHELwnRUccfBJ3d6uPSqYotacKW0G7tL4hwZyueA7b Y9hGmSI8QFA3UitAM6qIoo+BtgkcSNwczohVqPGTKqHimDCFI0bh9k7ClwHJVcsF1v1b vBjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=heK9KiFH; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=PwEIP3kN; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b19-20020a170906661300b0094f1de9030dsi3012951ejp.897.2023.06.11.15.32.50; Sun, 11 Jun 2023 15:33:14 -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=@pobox.com header.s=sasl header.b=heK9KiFH; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=PwEIP3kN; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231786AbjFKWZb (ORCPT + 99 others); Sun, 11 Jun 2023 18:25:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjFKWZ3 (ORCPT ); Sun, 11 Jun 2023 18:25:29 -0400 X-Greylist: delayed 220 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 11 Jun 2023 15:25:26 PDT Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92E84139; Sun, 11 Jun 2023 15:25:26 -0700 (PDT) Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id EB5072C298; Sun, 11 Jun 2023 18:21:44 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=date:from :to:cc:subject:message-id:mime-version:content-type; s=sasl; bh= z+Ge1TsISNeopxsJaxZvRckLuWJjsX/bscizidOYUHY=; b=heK9KiFHa98/9xb4 Syl79BqHipP7Lfncug0ygiCXtGxjxFZzs/LbKGIRTItHGW6Vdst280cqrA2Y8QcF o2xIp1zTreYsYEsmccLEZGou1O+35Kw+cyAxfTaqke52jsj1CSD6UH2i4WYwGc5I dH+3B/SUiLhBYcS15Xtb1X3BkPc= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id E2BB22C297; Sun, 11 Jun 2023 18:21:44 -0400 (EDT) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=darkphysics.net; h=date:from:to:cc:subject:message-id:mime-version:content-type; s=2019-09.pbsmtp; bh=z+Ge1TsISNeopxsJaxZvRckLuWJjsX/bscizidOYUHY=; b=PwEIP3kNnqBbKve2G14PXwGOp/iZ8K1Iqj4naiQfNCPFmd9UlHLZFnen7JiGog0ylJYgKQLw04J06/i8b5g60IBYwDnwIPLVWBlXvmOlArRKXX+J3cum56pklDaPkHCrkGmTAuJgQjLIXoEIfxD3lrjROKHKvXx4XpLy4hqCFMg= Received: from oatmeal.darkphysics (unknown [76.146.178.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id C31E22C295; Sun, 11 Jun 2023 18:21:41 -0400 (EDT) (envelope-from tdavies@darkphysics.net) Date: Sun, 11 Jun 2023 15:21:36 -0700 From: Tree Davies To: anthony.l.nguyen@intel.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: tdavies@darkphysics.net, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] net/e1000: Fix single statement blocks warning Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="luNyGatCr/pDLYsq" Content-Disposition: inline X-Pobox-Relay-ID: 57659C30-08A6-11EE-AE76-B31D44D1D7AA-45285927!pb-smtp21.pobox.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 --luNyGatCr/pDLYsq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline --luNyGatCr/pDLYsq Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-net-e1000-Fix-single-statement-blocks-warning.patch" From e92897ab5e93b8827d1654a0171bc53ab478ce49 Mon Sep 17 00:00:00 2001 From: Tree Davies Date: Sun, 11 Jun 2023 14:41:31 -0700 Subject: [PATCH] net/e1000: Fix single statement blocks warning This patch fixes checkpatch.pl warning of type: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Tree Davies --- drivers/net/ethernet/intel/e1000/e1000_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c b/drivers/net/ethernet/intel/e1000/e1000_main.c index da6e303ad99b..accc2bd7c35c 100644 --- a/drivers/net/ethernet/intel/e1000/e1000_main.c +++ b/drivers/net/ethernet/intel/e1000/e1000_main.c @@ -259,9 +259,8 @@ static int e1000_request_irq(struct e1000_adapter *adapter) err = request_irq(adapter->pdev->irq, handler, irq_flags, netdev->name, netdev); - if (err) { + if (err) e_err(probe, "Unable to allocate interrupt Error: %d\n", err); - } return err; } -- 2.30.2 --luNyGatCr/pDLYsq--