Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2008828pxb; Wed, 9 Feb 2022 09:02:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvGJgiR6pohFHaWcDunKIhs0J5dX9vo+KWRI6WJv3XmdnOM0VxD5x/oc2DQH4CGoYW2g40 X-Received: by 2002:a17:906:7481:: with SMTP id e1mr2735381ejl.573.1644426127597; Wed, 09 Feb 2022 09:02:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644426127; cv=none; d=google.com; s=arc-20160816; b=AiGIEmTCWs5pemINfLX8yYra17XqJesx8euUiFjGd0ALzwdQuKBtLN9nwigHEIsM9p s83LJMSiSdBgKn2z+hQTt5UP2t9kJC6m/dFZf7wV67bs2by2J5JKRrH2j7MRO4pBwIFM AIKylZA4N2c0ZU5thjziyAydqTH5W4erXTd2SpY71T/ml3z6DNgcURsFrIWh9WvqpyyM p4mFpCdV4LBW6WwjLdtAF9UGHOwqkvHBNINCcigxz6f73OKszPycAwrY9fwhC49BYn/l bAas/y3q0eTNNC5RrMnOUbDrJEp7LPB0P8142ru1w84dTFhWG6qJNO2572LUDFElB2BL tUDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=q3LL0HFbBfXngCsMvOL6XP66dZ422PxATU19M2OtQz4=; b=LigjI6D1smLfl9wtyNAxlVGo0cGr/ONsEYq2SDRw/w5mvjdo6ufRaPYCuC2NZrn5Sn oDUyoHyVk6I6bHSjhK/0vLl8ICpgHhBIeoYIhipDltixQnuAMUt87FP8VJb/RKriQcsn hq1uccTs83t6Ab1ElZF6rWszshFqrcZCHQNc30kvJmtKAEYJKLx01lre8cFm7DunsIAl nGIWPLRkHAsTa0oilkxy4V3EmxphBLnRk8K1+mjezOdWtLwwmLC6bECmpg9RRNWwosAJ V3bkC1222Rw+DULZKyQwflZk47MFlVWVwLBQ6umTfeF7M6uRrF2J2XhvC6MaiT5WbYJZ BC+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=htlKhTf+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 jg6si434900ejc.593.2022.02.09.09.01.39; Wed, 09 Feb 2022 09:02:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@infradead.org header.s=casper.20170209 header.b=htlKhTf+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237491AbiBIQvp (ORCPT + 99 others); Wed, 9 Feb 2022 11:51:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237198AbiBIQvn (ORCPT ); Wed, 9 Feb 2022 11:51:43 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 627CBC0613C9; Wed, 9 Feb 2022 08:51:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description; bh=q3LL0HFbBfXngCsMvOL6XP66dZ422PxATU19M2OtQz4=; b=htlKhTf+eJufJBy2BI4ceOhD2H NdfraeH8gjDM7juKD3V291LZSw0kw2E5SqcD2fqInQiSzYO3ntBNQPZ2i2HSLRIHN7qkXnWolOliy gKlsQsHL7ijKLPwDVoWDZUMV92CpOtz9o7SDaScnX5sH+9S4aSkuJA9FmVtXrTCZwZPXE74NFYIc4 mjd8ELKsujXHyEYHUTrIhWEOH8Pesqm6nwgp2EYGcQfNXEuy4ZQjRufgPfXHJ64qBE8abVf/8aUWB 2shZdZ3mp8P0UTb1tA5PQCXhbWSZSF5v92L5nF796kaykfv9Y261C84+u2a3mVU8e1G5s8dr96k5Q 31mDogAQ==; Received: from [2601:1c0:6280:3f0::aa0b] by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHqBu-008BjK-T1; Wed, 09 Feb 2022 16:51:39 +0000 Message-ID: Date: Wed, 9 Feb 2022 08:51:33 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH] watchdog: Improve watchdog_dev function documentation Content-Language: en-US To: Daniel Bristot de Oliveira , Wim Van Sebroeck , Guenter Roeck Cc: linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org References: <274cc9a2b34c7ffd042170fe2f8a5e55e22766b8.1644396833.git.bristot@redhat.com> From: Randy Dunlap In-Reply-To: <274cc9a2b34c7ffd042170fe2f8a5e55e22766b8.1644396833.git.bristot@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,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 Hi Daniel, On 2/9/22 01:08, Daniel Bristot de Oliveira wrote: > Adjust function comments to the kernel doc format. It > also adjusts some variable names and adds return values. > > No functional change. After applying the patch, I still see 3 warnings: watchdog_dev.c:1127: warning: No description found for return value of 'watchdog_dev_register' watchdog_dev.c:1169: warning: No description found for return value of 'watchdog_set_last_hw_keepalive' watchdog_dev.c:1197: warning: No description found for return value of 'watchdog_dev_init' Ah, I see. The format for function Return in kernel-doc is: * Return: func return info here > Cc: Wim Van Sebroeck > Cc: Guenter Roeck > Cc: linux-watchdog@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Daniel Bristot de Oliveira > --- > drivers/watchdog/watchdog_dev.c | 244 ++++++++++++++++---------------- > 1 file changed, 125 insertions(+), 119 deletions(-) > thanks. -- ~Randy