Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8048327ybn; Tue, 1 Oct 2019 02:18:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzn2UGAnjVhOjS7Q/xOSEnwn8aN1HRnh1fKm8KB7XeTblxwCdRAuQbHndgJU5tGFXfvE8Wk X-Received: by 2002:a50:fd86:: with SMTP id o6mr24512170edt.139.1569921534719; Tue, 01 Oct 2019 02:18:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569921534; cv=none; d=google.com; s=arc-20160816; b=aHUs/7ITtwZodeGRd25SEfUOme6phlEjwX30hLeBExuXY/0suW8vWYciYXSqJuuLFf 8G0YyaqIcIFlYz2f9q+qvRbJLNwNg+2+14K57yNaXDYfRMoT0jl2kCklQYy/wO9f5CQJ LL7LDStGYKo8s3zmCunRZ87mT3hQGsnfGbT/YiPsTPRpi7NdDXvM6aO1VXODoSVkDrG4 T7Q24ujV7ATI+aQ/UDnld7bj829YLKokwGklXa/uPZFdoH6Cs0oUteVLKUh0hTubps1Z Tezn0KSIXxg0DklO/prujGMLZPpxmrQ30lvzcOhO+l84ld/AfYyq7iasdGZkbUtGnQz3 pJFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:user-agent:cc:to :references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature:dkim-signature; bh=jK4Mq6EEigSgYXGdfJqfZWHiOJLOkV2efULc+xxcxYw=; b=X0SNcCsvr4DEcAELK1cRRuqlwFD2HwePpj5qbIXlLCTVqLq65lstviQaeodMgZkMnp mdHkpuYAfBGDod8Ougv3PBrDPVLIyb63cVtKOIjfmP8Uxq54WynkkiMrwTmGjOqOomhO grvZXDb1i0zKPDDU6cOlyfvO6m4/25rcWZu7jTc8zFb12VQb9oqczyq64GgZ/k1hqkHK Xqpe6Lq2H6+TFLmjel3Xo8sXulAQT8TNeHC8VjrS18RV5N5SHnfLa7IPRjVaHr34Slrm oW+jKN1SQ2PNsXFgFlQCNgGMlx12l3NzeIW6VI0qL+cjBvddcfDTCarzEcyTlpRhYGs5 memA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="hh/QQJ4o"; dkim=pass header.i=@codeaurora.org header.s=default header.b=cXHSy2XB; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d24si8876659ede.119.2019.10.01.02.18.29; Tue, 01 Oct 2019 02:18:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="hh/QQJ4o"; dkim=pass header.i=@codeaurora.org header.s=default header.b=cXHSy2XB; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733060AbfJAJS0 (ORCPT + 99 others); Tue, 1 Oct 2019 05:18:26 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:38668 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729418AbfJAJS0 (ORCPT ); Tue, 1 Oct 2019 05:18:26 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 7FCED61156; Tue, 1 Oct 2019 09:18:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1569921505; bh=t5SrsnSO3W9v+9/ySTiF8sg1I6e+XTnn5JfjhAj1jwg=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=hh/QQJ4oR9JZhgv72BhTulk8NcRgnqZvZQIwCMmtdx8CGJNb3Hq/THbeSFeL/0F0Y YrWHAnbwVNnILdKaZXaTlRPfocy/lv33DM5DTfgWWjRe3+vNK5vjTOseP7mCdQI5Rx HI3Vx6bav05llRxbhWvrpsRMtR6rbw13DOjWXIyo= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MISSING_DATE,MISSING_MID,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 6F16C608CE; Tue, 1 Oct 2019 09:18:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1569921505; bh=t5SrsnSO3W9v+9/ySTiF8sg1I6e+XTnn5JfjhAj1jwg=; h=Subject:From:In-Reply-To:References:To:Cc:From; b=cXHSy2XBx/sM+Lo1JGMJiCsXZHhiN3QUlV40rU68SAjP95YLYZtZ5xMBAM0udvfiZ CyH+BDDfg4PrPFso78dikY/nXnBpHIjHIn56QYSKOQWtgnOs4NzHW7fBhZjfDdL5df zWhp3Ie2o805r/NbjtCTvS5qv3sPhYEYijGS3mg4= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6F16C608CE Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] rtw88: 8822c: fix boolreturn.cocci warnings From: Kalle Valo In-Reply-To: <1568601700-12162-1-git-send-email-yhchuang@realtek.com> References: <1568601700-12162-1-git-send-email-yhchuang@realtek.com> To: Cc: , User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20191001091825.7FCED61156@smtp.codeaurora.org> Date: Tue, 1 Oct 2019 09:18:25 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org wrote: > From: Yan-Hsuan Chuang > > drivers/net/wireless/realtek/rtw88/rtw8822c.c:2606:9-10: WARNING: return > of 0/1 in function 'rtw8822c_dpk_coef_iq_check' with return type bool > > Return statements in functions returning bool should use true/false > instead of 1/0. > Generated by: scripts/coccinelle/misc/boolreturn.cocci > > Fixes: 5227c2ee453d ("rtw88: 8822c: add SW DPK support") > Reported-by: kbuild test robot > Signed-off-by: Yan-Hsuan Chuang Patch applied to wireless-drivers-next.git, thanks. 0d32f5d93bba rtw88: 8822c: fix boolreturn.cocci warnings -- https://patchwork.kernel.org/patch/11146287/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches