Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp543994rdb; Thu, 30 Nov 2023 11:19:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZvsZBHHaIwMugO3T59st2RgD8b4at470xPflvPQhu+j5e06UPNFmHRp2zTd0VSZuAwY0D X-Received: by 2002:a0c:e98c:0:b0:67a:19e5:1d3a with SMTP id z12-20020a0ce98c000000b0067a19e51d3amr25566587qvn.35.1701371955057; Thu, 30 Nov 2023 11:19:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701371955; cv=none; d=google.com; s=arc-20160816; b=Q4eYzyy0yKLFa63Jklid7FL/f5Dl3mkrx2EwhkmxH9hQDG4mW5Zs0czKyqGRD5yt7y VEyIdfeS0RKh3RuQWUHNub9s0FzOVl9ezYcSXEP7xsdt282AzHNve8312R9je4a2ZXJ/ BzYuWE7oODJ5xdzojNHBaXmKtULfFssYG9pFychGjye6TDJJXYUo1Mn+0P2ktgatju0E sx6g7AJibKm79kbRIf44h+AgezJD2oYR+SlvGgzdRapODdy5UA8K0Ve7Bpb3eo8HWElh w3dAVG+j5xCu1gCeWgZLyAKp5UNeIo9v72rrSkkfjDpYEdSXic1uyrBj/xcKC2dV2Qkc wwtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=3zgY6qZTLrrewF//TKi3+viKiyZX06S9sLApDTlMwQw=; fh=yNhltXM+yqC13UGRtEXbNTya4B5atjZp4hN+Sb0pj98=; b=IhsWgU0AAqR9pgrWEDiTPQ3lIXbiObJ454bcz78xcpsEKpFH7702eJhCHBfU9LK4qx e8KcbJs9uLrt4T3mir1/tJlQVtJoDooRw3WKHF2NRDZJVwCk3MYm7tBrIAIPVrHZvqpi Aypd1ZVAc0lLzrebnZSGSx1JO881+QnCWIKkAzP0+BqPWxTKnHGLMD+AKspzunD7636k i52NMzJvWp9yGAxwI930aU+9SNDSvY0SEXiukEH6ReefhCz2RgsMmvrGsOi+trKPNdxV kZ1IkLvhphjlTLpi34iraKcvWZ4WJ3L7gyzyBDfFlhSq0iiSGjxXHZ+VOKNhygJDHzS6 bnzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PGdfVwwR; spf=pass (google.com: domain of linux-wireless+bounces-252-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-252-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dd1-20020ad45801000000b00679d7f290d0si1551839qvb.26.2023.11.30.11.19.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 11:19:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-252-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PGdfVwwR; spf=pass (google.com: domain of linux-wireless+bounces-252-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-252-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B5F681C20C5B for ; Thu, 30 Nov 2023 19:19:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 50CA95FEFC; Thu, 30 Nov 2023 19:19:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PGdfVwwR" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 35274A2D for ; Thu, 30 Nov 2023 19:19:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BC40C433B6; Thu, 30 Nov 2023 19:19:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701371951; bh=ryf0ac22TL6DaGrTFgOPiOATU06MewbNS0dcr3C123M=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=PGdfVwwRrgWewpOo2s9FxLYSSS3AZYXHf92wPyUAn9ThkAl/79PE490k/9gR5PCUy Z8iKG+Yf5lgyXmFJCDn7fRirIQ533MFUnFNbN06nOetLxAlLvPh8ilZZXnLwjehEXM 5hIfMsBvcQGlZCSe0gaBmvAgpeNqI85t1WBhOioNujgge7wS4iClZR89b+jDUeXsiW m5MnZSEzbJkGSGVAHkeZw/1obqn67x+rQsJFuQBlxe+2jKLyJWW0sfkJvEx+MgB8+w XykW7B5/Bd3z/j3fftyN62BB4vByy/OuNK8iUQrY5i8rbvrj6oJoyFcgfT4rMyX08u MDbhSd0viR44g== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH net-next] wifi: rt2x00: Simplify bool conversion From: Kalle Valo In-Reply-To: <20231115010017.112081-1-yang.lee@linux.alibaba.com> References: <20231115010017.112081-1-yang.lee@linux.alibaba.com> To: Yang Li Cc: stf_xl@wp.pl, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170137194830.1963309.4994000152784974396.kvalo@kernel.org> Date: Thu, 30 Nov 2023 19:19:10 +0000 (UTC) Yang Li wrote: > ./drivers/net/wireless/ralink/rt2x00/rt2800lib.c:1331:47-52: WARNING: conversion to bool not needed here > ./drivers/net/wireless/ralink/rt2x00/rt2800lib.c:1332:47-52: WARNING: conversion to bool not needed here > > Reported-by: Abaci Robot > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7531 > Signed-off-by: Yang Li Patch applied to wireless-next.git, thanks. cda398fcb488 wifi: rt2x00: Simplify bool conversion -- https://patchwork.kernel.org/project/linux-wireless/patch/20231115010017.112081-1-yang.lee@linux.alibaba.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches