Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp1742708iof; Tue, 7 Jun 2022 10:37:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCCv1V3GjXJgssAhwPaNGkZBxlex0QYWGsO0fdKLJs311ZW9XGS+eFjy8PFxFPNLbnlosY X-Received: by 2002:a17:906:85cb:b0:70b:ffb4:b0e with SMTP id i11-20020a17090685cb00b0070bffb40b0emr24322037ejy.533.1654623442304; Tue, 07 Jun 2022 10:37:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654623442; cv=none; d=google.com; s=arc-20160816; b=QaQWJnt4oQ+JtNiHEMnJYgoNZY8271iFOWAGScEC33QpUxM1P1mTwX0D5NROBGn78x 9IIVdxUPahm1D9xv8z8ewzOWbTLvifnmh2EN+xeUS+ZyAbBb91ZVxWpgzCct3+I//O3U LoyfeWkl6phHKxdr2S/js7Kzf/2aXQoKPtULP0NyeWmbm5QJzi3EjkvLL7CIq7zqBcCx uMxpQY1uRPPdZ/AIk1/X0/s9RV3hvofeJPNCsg4KWb+3/fm1dG719rXb2fNkFkj/hD87 uyT4LbqKloopNIc6vI73uGWg/xwGOntiO+/WWiTq83P0WJW1/OG4iR0c+kuU2gWreWqe gcEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YjmfC1rf30dfbK1VMDUD3uJ9lKra4ybOOpfBQf+v/fI=; b=aMd4xVR9cxi6omxgg+DtzeSzzCSi/aJryAhF0k6Sm5ynvKvdsEKIEaYMJ+3uIWOEds k8mpTLGjlZYVy0oVFQVt7e/NfF8pS1RGFkaL+4lKXj+QTOjkPGJXc/26xSSjUpFMJpCH 6u4NDoR9cKzETJCkypcyDOePuAgc6PPhrb3wBL+csUZkrFeFYK9NHRGkggW4VVeA4K88 DRjHv7oPqmkdYz/97hVEsMijeqNfTjO7vTSm/YHKxEstJ7W5Vb0wR6wEEELt3cTo40rJ igxghrrjyifDvLkLnCDaHq4zQ+titz5zeRGS/JRz0KSLH+yVLhtANZMV/vIjb0nFrGlA MThg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ILDaKY5u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g13-20020a056402090d00b0042f87ebff0bsi11261837edz.516.2022.06.07.10.36.56; Tue, 07 Jun 2022 10:37:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@linuxfoundation.org header.s=korg header.b=ILDaKY5u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242443AbiFGLD3 (ORCPT + 99 others); Tue, 7 Jun 2022 07:03:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242878AbiFGLA5 (ORCPT ); Tue, 7 Jun 2022 07:00:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6697303 for ; Tue, 7 Jun 2022 04:00:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 63C3261556 for ; Tue, 7 Jun 2022 11:00:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F0DDC385A5; Tue, 7 Jun 2022 11:00:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654599641; bh=NCRYi15R3SZXtnylokP+CV2OP6UTPKNRKneK+LCEpG0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ILDaKY5ugYGsxjq64AvD2ysNnh0lwMQfUX31OEtuMOLB15NMj9whtQz/IwJamuE0n KOosLjA/tUa0TDajoaTZ7HU3GhWFivLIpk6uPwlJFR5HkBM4K2Cb/EHWQpgN0qQDSs NqZudHs6sArM4mjJXfyJWnuXLd8mipD8YgISVE3Q= Date: Tue, 7 Jun 2022 13:00:36 +0200 From: Greg KH To: Bagas Sanjaya Cc: Jiapeng Chong , Larry.Finger@lwfinger.net, phil@philpotter.co.uk, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH] staging: r8188eu: Fix kernel-doc Message-ID: References: <20220524083914.68736-1-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-kernel@vger.kernel.org On Mon, Jun 06, 2022 at 02:58:56PM +0700, Bagas Sanjaya wrote: > On Mon, Jun 06, 2022 at 07:53:02AM +0200, Greg KH wrote: > > On Tue, May 24, 2022 at 04:39:14PM +0800, Jiapeng Chong wrote: > > > Fix the following W=1 kernel warnings: > > > > > > drivers/staging/r8188eu/hal/rtl8188e_phycfg.c:291: warning: expecting > > > prototype for Function(). Prototype was for rtl8188e_PHY_SetRFReg() > > > instead. > > > > > > drivers/staging/r8188eu/hal/rtl8188e_phycfg.c:257: warning: expecting > > > prototype for Function(). Prototype was for rtl8188e_PHY_QueryRFReg() > > > instead. > > > > Please put build warning lines all on one line. > > > > > > > > Reported-by: Abaci Robot > > > > No, gcc reported this, not a robot, right? > > > > You have read Documentation/process/researcher-guidelines.rst for how to > > properly document patches that are created by research tools like this, > > right? Please fix this commit up to follow those requirements please. > > > > Hi Greg and Jiapeng, > > First, IMO this is not research tool (in the sense of academic purposes), > but development bot used in corporate environment, kinda like kernel > test robot . When the bot reports any build warnings, > these will be followed up by developers proposing fixes. Ok, then please document it as such and point to where we can find out more information about it. > What I see in the patch message is just "Fix this warning..." without > saying why there is the warning. Which isn't ok. > Second, gcc DOESN'T, again DOESN'T, report "expecting prototype" > warnings. These are from scripts/kernel-doc, which enabled these > warnings on W=1 build. Yes, the kernel build reports this, not a random "robot". > So the underlying problem is mismatching function name in kernel-doc > comment and actual function. Agreed, so the changelog should say as such. thanks, greg k-h