Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4714030iob; Sun, 8 May 2022 23:00:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIhRIFP+2JcfNU2aBcjthYM8T/PSyZ3AmSbAJ3TtbSMJKiaral9s71OY543KfwwrF2r1Q4 X-Received: by 2002:a17:902:7296:b0:151:62b1:e2b0 with SMTP id d22-20020a170902729600b0015162b1e2b0mr14515249pll.165.1652076010766; Sun, 08 May 2022 23:00:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652076010; cv=none; d=google.com; s=arc-20160816; b=XHnoSZljaJ4TosUhNXn1u6obu5wRudEBUuXZpZMBukkywR0w9MWhchBspFZcqsZdqQ LRGiTsMo5bqwMBu3IiCyAFIXFk5oNMUm89TwBEEtuoXQY1mI+15g8AQR5ZKERH2HzfrV oKSmKFlzHtndr17ozptauub3GziJKFZl736D0jnCw4A16RE+AVGfqJW+7B6xBMl1raje hxyKXo6I8wPNlqceayjFdqDamnt/CoXZGR2ZoKO6DlCacVIjkJzneu/8HfWEQe3WKjd2 yhhuoYOJ7Go/PWMKVvXKjzkYufrPkvVR2GgUck1Vlk2/oI2dXGx1W1KCXg5dAji8cROD pPLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date; bh=TQQ983YXaPxVgaQ9YrqA6tJ0C6MXYyk8V+UlUrV6wAc=; b=EzBqBug+cCH/clr0+oxsYrCDi+Q4+oiNes2k2By+MaZ3Vns9vP7Jkr3gvBLcabLpuz 6Yy72P+Te1KdF3FP/m20awGUjGts3bUlHH3eqGdwprhk6+V64d8RyXuJSHF9Tkfv+brT KwaVvVu0Vrb7s/QM5eZqWUUnjr/L795hs7o4s7BNpjRzkcPAGpgn9MFDDLfoy8zt2Amr U+8OOlbvour+zAVTN4+6nddoPVZ0huK3L+zaJLoHDTudhi8VDUFHvrzHYPYEm2YNkY0a 70ScWqKwnYnMK6F944PF5ymNWPw/1PdlsW+iJdCVdSXTO7APWIjRwxjio06ps+Lm5I4z UG6w== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k12-20020a65464c000000b003ab7a1a4f11si13818205pgr.315.2022.05.08.23.00.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 23:00:10 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-wireless-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 33AEB1312B0; Sun, 8 May 2022 23:00:01 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443336AbiEFQGx (ORCPT + 69 others); Fri, 6 May 2022 12:06:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443330AbiEFQGv (ORCPT ); Fri, 6 May 2022 12:06:51 -0400 X-Greylist: delayed 1950 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 06 May 2022 09:03:05 PDT Received: from bues.ch (bues.ch [IPv6:2a01:138:9005::1:4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D025369CCB; Fri, 6 May 2022 09:03:05 -0700 (PDT) Received: by bues.ch with esmtpsa (Exim 4.92) (envelope-from ) id 1nmzuZ-0005Zh-4F; Fri, 06 May 2022 17:30:31 +0200 Date: Fri, 6 May 2022 17:29:56 +0200 From: Michael =?UTF-8?B?QsO8c2No?= To: Jiapeng Chong Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH] ssb: remove unreachable code Message-ID: <20220506172956.25004612@barney> In-Reply-To: <20220506075814.115059-1-jiapeng.chong@linux.alibaba.com> References: <20220506075814.115059-1-jiapeng.chong@linux.alibaba.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/X0fbrmtqHTaRTxhiMw+aYS4"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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-wireless@vger.kernel.org --Sig_/X0fbrmtqHTaRTxhiMw+aYS4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, 6 May 2022 15:58:14 +0800 Jiapeng Chong wrote: > Clean up the following smatch warning: >=20 > drivers/ssb/pci.c:917 ssb_pci_sprom_get() warn: ignoring unreachable > code. >=20 > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > --- > drivers/ssb/pci.c | 1 - > 1 file changed, 1 deletion(-) >=20 > diff --git a/drivers/ssb/pci.c b/drivers/ssb/pci.c > index 148bcb99c212..493bebbba521 100644 > --- a/drivers/ssb/pci.c > +++ b/drivers/ssb/pci.c > @@ -914,7 +914,6 @@ static int ssb_pci_sprom_get(struct ssb_bus *bus, > err =3D 0; > goto out_free; > } > - pr_warn("WARNING: Invalid SPROM CRC (corrupt > SPROM)\n"); } > } > err =3D sprom_extract(bus, sprom, buf, bus->sprom_size); Acked-by: Michael B=C3=BCsch --=20 Michael B=C3=BCsch https://bues.ch/ --Sig_/X0fbrmtqHTaRTxhiMw+aYS4 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEihRzkKVZOnT2ipsS9TK+HZCNiw4FAmJ1PvQACgkQ9TK+HZCN iw6NthAAyKfzsQpLYd9idoiE9ulR6GvTJkpq+syShMJB6lWxn4gK/pFXaHrz18Ko zM+cdWQnId/P1zlNH5UDw8wBL6CjCDdSAl0FfJX9Fsdiz9Mp0bM+cjPprI4Fn+Qx NO3pWKEIwy2C2DV4iK2QpgLUPgu7kIOfpCTevDmwXxMT9PIjl/DFGrqmZFo7X326 MKVisT7nmoKQpCdeso7MkaXPFVRklE35KcHkQFlwtroo50IHn3Dt+Q+rrqqDN0nd D/aOh0rHgFDRlPn5CGj9oz+5/Mxy4soV7d+/VIIEdi4fhuywBw34stn4No+X/1v4 JgrCU/tl2HSQemrhH+P8zkDaIziVLCYdDMZIj01WVnLEEAuaWezKladxqJkIHPKW Bm9qJ/e3t1ZekZ/SRPHXi+HTA+aetxjOWGgWgy1t0+ZOdT16Ail2ERxPvD5yGAo1 EoFlHMzPuh3XYLWbwHajMj4U1uVNbwQfQCPE2xLbs1Vvl98x6vDoNPWMBvL8Uxzv l8MM9XtkPARm7fxsQPRwGWW3s++1IQot5U1CIWvpNlnHcscIJXdAEOmijb+lqLy/ qinal+mbJ+9VQOvMRQ60yD27YcIHLTgFBqNEpXLBpq01kNtX6A3zEvAcmDnl/buZ kSQzM8TC02drF+Mmtr7bTcSd2FxD5tHZmgWww+pA3v6r9Q3Lrv0= =flqY -----END PGP SIGNATURE----- --Sig_/X0fbrmtqHTaRTxhiMw+aYS4--