Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp3468572rwp; Sat, 15 Jul 2023 03:26:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlG+5HbJTAUIpH0xKhV/nvWn0pRZH3J4yurqttfAQgUEwCLoC5umlXiLZmK+U7lYGNK3e8uQ X-Received: by 2002:aa7:c709:0:b0:51a:7bcd:a82d with SMTP id i9-20020aa7c709000000b0051a7bcda82dmr6151566edq.23.1689416783342; Sat, 15 Jul 2023 03:26:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689416783; cv=none; d=google.com; s=arc-20160816; b=VwYiJybGM0ZOkMpOVO62CzOx/IlWJGr+xI788bbntSR/6XE1kzTtw4ZYYaXFdraDmp ocdeXlzgV80ETPP2ZqLPXXfdhmQ/iAUbduxaMPjV/Dh53GYKgzfI3d/xFqZpL1h7NAHG E57nZ7FczNSedSEBHeQkJLT/W7Iou7giRo60YYtKf7xgGzFI+C79+06x+BYhOK2Im2VN /mof2udYSHsrWXdeRCz8j3TSPWmc7CmN7ie0xi0lbkQ7EBo+7iVk8WfZRyN7HS36D2n7 3O+h35C5GwHf1TumANJkG+7imf2Y6vqlGmTXLgcCMI+8ReDzdYaDxJwLIcq5+Ulsld+u 5XPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:subject:cc:to:from:message-id :dkim-signature; bh=JpDCCEP/8aNDbjWStl7V/1DHXjS0bFNz+rqHDxrKpuk=; fh=Iu6kBdpIAKTwbf+xT5pWcX7cFY8zhRn88ZukC6oG0G8=; b=kpWGJ6IfLlyZ6etE5p0AQkICYfJLSqFYofLwgWHJVSK8uGckpJiq4TYkb2Kkw+gU+D KuI/M6/60FIfv7DK5Op6r82N1cSdnNz8/AY5vN6BSec0Os6fj7Uz7OI6x/j+u4cVHPiH IXpC6xC9bpRGmhgYUfPSBAHuVdi/Iw6V9Ab+2g1Rnk6vkt5r8QTAHyyOzeAdgi1VCvJq 41rioQV77YRnhwOsWZaHjTyAR0CMdEf/TbaaQCD08bfu3d5J12JXFg3SCOxt50HX9O+h QJDN8jSJa64ZnkjI1Dru5J4XbI5W1JUWXa4iROdgCd46QxSJoJPsy29xn7kxNzFiNmAH rKPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foxmail.com header.s=s201512 header.b=VstwCYvt; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foxmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ay1-20020a056402202100b0051e067727b7si10331877edb.135.2023.07.15.03.26.03; Sat, 15 Jul 2023 03:26:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@foxmail.com header.s=s201512 header.b=VstwCYvt; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foxmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230111AbjGOJ43 (ORCPT + 59 others); Sat, 15 Jul 2023 05:56:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjGOJ42 (ORCPT ); Sat, 15 Jul 2023 05:56:28 -0400 Received: from out203-205-251-82.mail.qq.com (out203-205-251-82.mail.qq.com [203.205.251.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1A8A26BC; Sat, 15 Jul 2023 02:56:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1689414973; bh=JpDCCEP/8aNDbjWStl7V/1DHXjS0bFNz+rqHDxrKpuk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=VstwCYvtKqUXCxgOt60w+O655qL4wwfbwkr0CC6EjGQvgiNptIxAsN/tWsk6p/b5N 3K8MLNsu00HsY7/3UUTb5SRAmDogyY223Ke/RdcrrScvcgIpokBtlw5EYvnGXwoZYp oG3MXXUw3KkcyJ5zWg0jsPRhh34ofxIDOzTl2TL4= Received: from localhost.localdomain ([220.243.191.12]) by newxmesmtplogicsvrszc2-0.qq.com (NewEsmtp) with SMTP id E0AA9045; Sat, 15 Jul 2023 17:56:10 +0800 X-QQ-mid: xmsmtpt1689414970tnk2wq92o Message-ID: X-QQ-XMAILINFO: N7xt/Xavkw6SPgp6fMF86Ya0b7fRfpshou9aHNkYNeG1Lo+iWmEXJqDEFpx8mn R53G9Kqvzuxpp4AivDQQAkcq3WEnyYs161XP9+s9urcpHOeJugw1hxAtzEURchfp9Ok/vdljHukV PRKGW3UHHKnAAQOnTuuwZCOs4iRIr7z0Gof+gdnd6w/ZWrZeTxpVraEbyzDBzExC+5B1T9WqORo+ 7dFG6M9QyffDAmzFWZ74FRz0MUjZ4iinjBVj6q6aVq29taxGUHhfh4uCALPPaRzZpvgF6Xnuivad c2ZF2f+Coo7UsvsMYllMNSp057dMyrfkbkhp7mRAMPQVB9TgsWNL0taZQmdbUrpcxbbwGJ8WHrpd MULh4pKppfqaZgjYWFQ24wV+n2PsirV4wAmqMBT97rXQTUu+eTnZb8dYep1KnTqiazjJaNKh+6hl RQl3bh9/CnF2Adb/U5ziSsd+LxT9BOkUcGTevMVoeJCw5bZ+QUS0oC0/BS1/d9eu6OPj1cptKt0X +NUzcSD6YtNQljpGr9xgzoW68D6difgy7vJHYFFnhd0H5JjZWdVmDOScrcNaDdFVBlMJLa88LlCQ iqnhi9v3pgd/nomO0vXRQ2M8LEXxATM2ytMgTh4EuxrWD/ZCmGuHqUE0WmwzLjMbexkRtEmVtUY6 3f5NOTwZy1z4iJ34OEE9xwJ9S7lSfAgrvSZ1LlBxulgvOdo25Sj+LJ7uG4Ki1togfTZUdN9osOp+ sxRraaBgHi+lQXTg2ZKDs+CeI4sRDyhCyrtyGfdR1ifsVi5Qe7pVdP+dj5TXJqp7rtcpeJxVtBRH 76q86plXVMOq/DpoBTuuDvr/UjILgGz62wLQlZgB1UTP90tkXwj4vjWtXhefZU5vWp8feAuwO81J 29H9NvnDvf8OUFPFhwAicuNa9hIe/MOLP5/OMKiZZs++ahGV3wKumdOdU0mqzrhHSNPMHsdgmcw3 A7UAj+M2KBpEls0OQkBVUpCzuCdJcI01iR9jkMY3alxG6ScR8eumxC7OYJjtAm X-QQ-XMRINFO: Mp0Kj//9VHAxr69bL5MkOOs= From: Zhang Shurong To: linux-wireless@vger.kernel.org, kernel-janitors@vger.kernel.org, Jakub Kicinski , Kalle Valo , Ping-Ke Shih , Markus Elfring Cc: LKML Subject: Re: [PATCH v2] wifi: rtw89: debug: fix error code in rtw89_debug_priv_btc_manual_set Date: Sat, 15 Jul 2023 17:56:10 +0800 X-OQ-MSGID: <4849586.31r3eYUQgx@localhost.localdomain> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, HELO_DYNAMIC_IPADDR,RCVD_IN_DNSWL_BLOCKED,RDNS_DYNAMIC,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 =E5=9C=A8 2023=E5=B9=B47=E6=9C=8815=E6=97=A5=E6=98=9F=E6=9C=9F=E5=85=AD CST= =E4=B8=8B=E5=8D=885:22:08=EF=BC=8CMarkus Elfring =E5=86=99=E9=81=93=EF=BC= =9A > > If there is a failure during kstrtobool_from_user() > > rtw89_debug_priv_btc_manual_set should return negative error code > > instead of returning the count driectly. > >=20 > > Fix this bug by returning the correct error code. >=20 > How do you think about to use an other wording approach > (like the following) for an improved change description? >=20 >=20 > Return an error code instead of a count after a failed call > of the function =E2=80=9Ckstrtobool_from_user=E2=80=9D. > Omit the label =E2=80=9Cout=E2=80=9D with this source code correction. >=20 >=20 > Regards, > Markus Thanks for your kindness reply and advice and I will change my description in the next version. Regards, Shurong