Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp348513rdb; Thu, 5 Oct 2023 07:44:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGw5R0oLftvmFj/hKHutnKjfyYqnPj/yCNwKpjDL0/dWaXqAkub6TX6865zXWNiQOYsElj9 X-Received: by 2002:a05:6a20:144c:b0:14e:a1f0:a8ea with SMTP id a12-20020a056a20144c00b0014ea1f0a8eamr5479374pzi.3.1696517045653; Thu, 05 Oct 2023 07:44:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696517045; cv=none; d=google.com; s=arc-20160816; b=JNeseOJeHc+6fdam6WHWPzfaHZLOrRJ5HwT/km5/04/vWVe+2R+odqydBoOzcBaRdV O40C7aaX6wKNIipSXsvPeGGxIhgt8TxDF0eoqVi3mah+6/cZp1HasQj4kDWwklwIUdGO HFe+S+HDLrPUrg5qGOQRYzBqQjsXBwbyJzkpAc+x1x/SyBfBbuGY0Q94/K5jnrfvrsXy MybkgKXCS9Ohles6TTPTl4tJKno+PWPEsXKLo8019cxdh9HuLa2OWIYweLToZ47R4ljf W+pPfOLpYb+pbL3xKXR8DXgX0yQsVSNGRBA/jsMlWPG55TPtV44q7pRo/qho51CgZLdD A2pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=+Y2FFJh6PnHbQHKJowBITqS+wkN+fuVn079pYsxiEmk=; fh=jsIpssjyT8bfCaNlWYR6++6VOlBc635mV05LlUs8SzQ=; b=vdBvxwHIQz4IPIjpWbUPxd2eQG5y2qnWZVfH/XpkiuWr0TgPGeiYm4qpQRdupVtSEb QV5gt0eettHxL9xzKhabShc5XyDVNdn0NH9x0WmGmhe23dWfEw32cKkZcy8ZTvaxIovm fmffJC71WYDqAaErVziznt5e1Pvd8NK06yPQeXl+ehRBgjBvhR4yA9Qo5zvdJ4BYIZ2C v3Fm7XS40dTLnmTllS2sjplOLIzORIBy0hLdIK43yFFIWSdSRxql0ntn+5vM62nmMiyN Rm1mS0LhkrVSgzXHgYgHRDwDYPcYIwWWY17t8119vDY+umyMNNkgZSC/kEgZXqtV4fT1 vTfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=siL559ix; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id bo23-20020a17090b091700b00277382d4803si3703994pjb.173.2023.10.05.07.44.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 07:44:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=siL559ix; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id C010D8097A56; Thu, 5 Oct 2023 07:43:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234011AbjJEOmh (ORCPT + 52 others); Thu, 5 Oct 2023 10:42:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236752AbjJEOhD (ORCPT ); Thu, 5 Oct 2023 10:37:03 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99EBB4788A for ; Thu, 5 Oct 2023 07:02:59 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A166EC43397; Thu, 5 Oct 2023 06:55:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696488911; bh=s4wfOStNsmrkgPGdk7Y3LZFrIkcZotb3BHd+Syzv3fA=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=siL559ixFxvb3XeOtUcGNvvqwp4g0d9pQfIjaYFsRS1vwMK0liRrVdm7RqJmjvSrn Hbfqd6fpnroT1WnF5rh5CRHktcD3aF3C/kG4lxuis1gt1Ag8F0YCrcxq0izf0RPos8 dJjD+uMs8DqsLJ3wRv9ib8YuvoDFPFvaw/imwBSnPpEsF7MlvQpnsfIjwW7z9l9al2 g3gPUKGJXIvRi+D9jrTjvg+5HT2ok/QFYNdwugtYEk6dlc3135nWL7gf+ToEJt1jQo CTop1YhneZYG5xZybjTpfTVsFODqUSPL72bYEV1rxcTfbRjH4588X3OtYlWIuFIW0q xWEQrAx/Y0Q0g== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] [v2] wifi: rtlwifi: remove unreachable code in rtl92d_dm_check_edca_turbo() From: Kalle Valo In-Reply-To: <20231003043318.11370-1-dmantipov@yandex.ru> References: <20231003043318.11370-1-dmantipov@yandex.ru> To: Dmitry Antipov Cc: Ping-Ke Shih , linux-wireless@vger.kernel.org, lvc-project@linuxtesting.org, Dmitry Antipov User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169648890847.613656.9599178129343011800.kvalo@kernel.org> Date: Thu, 5 Oct 2023 06:55:10 +0000 (UTC) X-Spam-Status: No, score=-0.1 required=5.0 tests=DATE_IN_PAST_06_12, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 05 Oct 2023 07:43:34 -0700 (PDT) Dmitry Antipov wrote: > Since '!(0x5ea42b & 0xffff0000)' is always false, remove unreachable > block in 'rtl92d_dm_check_edca_turbo()' and convert EDCA limits to > constant variables. Compile tested only. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Signed-off-by: Dmitry Antipov > Acked-by: Ping-Ke Shih Patch applied to wireless-next.git, thanks. 9418edf8ff01 wifi: rtlwifi: remove unreachable code in rtl92d_dm_check_edca_turbo() -- https://patchwork.kernel.org/project/linux-wireless/patch/20231003043318.11370-1-dmantipov@yandex.ru/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches