Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3916434pxb; Mon, 8 Feb 2021 03:31:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzfB/8F+UohbGXOyWqyfftm5/hY+40Q1SXbNUmYhOGc2VFEN1WBQ8hf3g6xaGxAAJmjhiwZ X-Received: by 2002:a17:906:80b:: with SMTP id e11mr16363891ejd.269.1612783859769; Mon, 08 Feb 2021 03:30:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612783859; cv=none; d=google.com; s=arc-20160816; b=lB1nkPLZS1cRAlKz074ayMK/pEL5LBtIwRZToMt6VkVOnxbRIkcyVb8w5JA/4WJN+Y oJHmsNVqWQpgGqeGq5IY06P7kCeY2BLz8s/jtNgm4Wi3mftoKCO53dZLtFhtirUy4zVl rbEEZbRk74vu82fTUEnfOExvvnsMP5LGfKUGuwjdWJwplHHNxnLAwXOsCMJ+LFGBr2kZ fAUsMWxrQ8M4KyzxwqzZ07Gg7c8qOlqG/ceHmLmQ9dSPXfXleCjuABU28grhoVAp+9+f Y4ABSHqd0j2wHCvCKxYg49/rFPc3pEM9K6HFd9yNVUjLW9PDn+2Zg5jg0j8mQvZnd8TR I0sQ== 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 :dmarc-filter:sender:dkim-signature; bh=5QCI63NH6Wa4pD81iDZmUJs/qJLaqHjMmad3Bk2CwNE=; b=Oghmm81bOH+Hf0gA+yYBzcppRFxQZ5UjG/7LveRNtS2uBDjHFYp4TkVwSeNMobIa7t oAyMWBnWlvUD83dF3HRgPsdwVdOD19zRTGp4S1Oh3RQ6ZShlFuxwTOB5UIA3fLoQMQYr oQc58gFfrn9Sh4waIEkiZXDynO9YhqdNacu6MoEJAJ9NlKSoxOgXj2ZZ4teXAPJu55w5 4eHB8//lcB6W4C6CPCcwQpvDW53INeaRFAwlAMEuEysRuzvt1ws45zhKzC25QfEG39JE R8tHT0VfqaKET1nfAV2PMy/BmokJgGL3mC4c3Y95s+dAxoHAyZch6vu7c+7Th3/qMfX0 eUng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=BDcgBfBJ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d24si5325861edv.303.2021.02.08.03.30.37; Mon, 08 Feb 2021 03:30:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=BDcgBfBJ; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233166AbhBHL3i (ORCPT + 99 others); Mon, 8 Feb 2021 06:29:38 -0500 Received: from so15.mailgun.net ([198.61.254.15]:50923 "EHLO so15.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233181AbhBHL1Q (ORCPT ); Mon, 8 Feb 2021 06:27:16 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1612783616; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=5QCI63NH6Wa4pD81iDZmUJs/qJLaqHjMmad3Bk2CwNE=; b=BDcgBfBJ+OSgJwTum8Wn7Xy59jSrDROtst0v76/bOWMBOzq9TMbYk3DS34thw9j5thKNFpGn B/60BAjbNf1f4ZAl02OlnWjeLoZ75YIuh0Oerv0UKvTNwgPDgjCAEaV+Vbb259vw3rL2GBEe 1XkyPUeFMBnMFgqTSCaF7pg+4MU= X-Mailgun-Sending-Ip: 198.61.254.15 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-west-2.postgun.com with SMTP id 60211fe1f112b7872c458818 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 08 Feb 2021 11:26:25 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 5CA59C433CA; Mon, 8 Feb 2021 11:26:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,BAYES_00, MISSING_DATE,MISSING_MID,SPF_FAIL,URIBL_BLOCKED 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) by smtp.codeaurora.org (Postfix) with ESMTPSA id 740CFC43464; Mon, 8 Feb 2021 11:26:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 740CFC43464 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] ssb: Use true and false for bool variable From: Kalle Valo In-Reply-To: <1612508199-92282-1-git-send-email-jiapeng.chong@linux.alibaba.com> References: <1612508199-92282-1-git-send-email-jiapeng.chong@linux.alibaba.com> To: Jiapeng Chong Cc: m@bues.ch, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.5.2 Message-Id: <20210208112625.5CA59C433CA@smtp.codeaurora.org> Date: Mon, 8 Feb 2021 11:26:25 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Jiapeng Chong wrote: > Fix the following coccicheck warnings: > > ./include/linux/ssb/ssb_driver_gige.h:89:8-9: WARNING: return of 0/1 in > function 'ssb_gige_one_dma_at_once' with return type bool. > > ./include/linux/ssb/ssb_driver_gige.h:79:8-9: WARNING: return of 0/1 in > function 'ssb_gige_have_roboswitch' with return type bool. > > ./include/linux/ssb/ssb_driver_gige.h:182:8-9: WARNING: return of 0/1 in > function 'ssb_gige_must_flush_posted_writes' with return type bool. > > ./include/linux/ssb/ssb_driver_gige.h:178:8-9: WARNING: return of 0/1 in > function 'ssb_gige_one_dma_at_once' with return type bool. > > ./include/linux/ssb/ssb_driver_gige.h:174:8-9: WARNING: return of 0/1 in > function 'ssb_gige_have_roboswitch' with return type bool. > > ./include/linux/ssb/ssb_driver_gige.h:170:8-9: WARNING: return of 0/1 in > function 'ssb_gige_is_rgmii' with return type bool. > > ./include/linux/ssb/ssb_driver_gige.h:162:8-9: WARNING: return of 0/1 in > function 'pdev_is_ssb_gige_core' with return type bool. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > Acked-by: Michael Büsch Patch applied to wireless-drivers-next.git, thanks. 4331667fa14e ssb: Use true and false for bool variable -- https://patchwork.kernel.org/project/linux-wireless/patch/1612508199-92282-1-git-send-email-jiapeng.chong@linux.alibaba.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches