Received: by 2002:a17:90a:88:0:0:0:0 with SMTP id a8csp4821284pja; Fri, 22 Nov 2019 02:25:07 -0800 (PST) X-Google-Smtp-Source: APXvYqyZEY5AR2hCxuDzqBAyJLHQeFph2XmRlk06DRQbW2LT9/5XPnTdnVCJkF3UOSOg2t1Njfb6 X-Received: by 2002:a17:906:c296:: with SMTP id r22mr4720521ejz.156.1574418307361; Fri, 22 Nov 2019 02:25:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574418307; cv=none; d=google.com; s=arc-20160816; b=iTDRbP9z1sFSmQgoUHLnaPWit4IQDusdQHw2PHA904130rpJ/K9lu/j3VlfIk+MB48 x6YFNEaQD8vEiEtxxf03Tf7THQxdAM28vS7Jl5Zibf2vohXBgyJi3uH1dix/IGgr70vk 2gi1EqVsPf1QJTDlEaqX+zgXLtSPdJJYY8OORt+vl+NShfUHjYrI62xTfFZeHgqxrdkT J6SHkOAndlFx30w4vGma48KMMkPhpX1gBTKjc8EKgkRRDK42uvBf0FVAzdLLytWqxvh6 aix1rofD0FwmVVBFl+aMZ3BIUVnGKIv4ZGTWQB5PLE/EmigYbpkjY8M52Ic5t35wIGR1 Ptmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=1njrtX+Ws/Xr2mUL4rEPB3rb/DrIFjuZmfM4SgbhbVw=; b=msYSOaI8+IiAZCqxiKflFk+w/RrezJISS5Up6rYjzuNP2DF92ihZkAlSaP6BnqGwrR FH4pa3mpFBi+NB6ycpXSDTz/o0CaHqOf5iT7LVwkUuP3NND2FKZAUkzYZxE9N0pjALij 7xrjUytHkvsSS1ouB3VV3ATMsjd62xN5hQhOs68NokcHxHJba8vSrSQyK3qTG1ppZ37q PtylagRT3F6WaR8VLaQWf/cVi0yCicGhRxxtQS91vpqCdXQta6xKnaKnRKL5wjnyA4iT o81jZDKkqljShZrsLLCB9mvLRlt49o8VWwWjaIr0AeNmUZ9rAcEzFjbM8M5cQkY3biaj ofZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 g30si858937edf.362.2019.11.22.02.24.42; Fri, 22 Nov 2019 02:25:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726980AbfKVKWv (ORCPT + 99 others); Fri, 22 Nov 2019 05:22:51 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:55055 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726526AbfKVKWv (ORCPT ); Fri, 22 Nov 2019 05:22:51 -0500 X-Originating-IP: 92.184.97.94 Received: from localhost (unknown [92.184.97.94]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id C4DF440005; Fri, 22 Nov 2019 10:22:37 +0000 (UTC) From: Alexandre Belloni To: linux-rtc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Alexandre Belloni Subject: [PATCH 1/8] rtc: sysfs: fix hctosys_show kerneldoc Date: Fri, 22 Nov 2019 11:22:05 +0100 Message-Id: <20191122102212.400158-2-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191122102212.400158-1-alexandre.belloni@bootlin.com> References: <20191122102212.400158-1-alexandre.belloni@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix undocumented function parameters: drivers/rtc/sysfs.c:112: warning: Function parameter or member 'dev' not described in 'hctosys_show' drivers/rtc/sysfs.c:112: warning: Function parameter or member 'attr' not described in 'hctosys_show' drivers/rtc/sysfs.c:112: warning: Function parameter or member 'buf' not described in 'hctosys_show' Signed-off-by: Alexandre Belloni --- drivers/rtc/sysfs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/sysfs.c b/drivers/rtc/sysfs.c index be3531e7f868..b7ca7d79fb28 100644 --- a/drivers/rtc/sysfs.c +++ b/drivers/rtc/sysfs.c @@ -103,8 +103,11 @@ static DEVICE_ATTR_RW(max_user_freq); /** * rtc_sysfs_show_hctosys - indicate if the given RTC set the system time + * @dev: The device that the attribute belongs to. + * @attr: The attribute being read. + * @buf: The result buffer. * - * Returns 1 if the system clock was set by this RTC at the last + * buf is "1" if the system clock was set by this RTC at the last * boot or resume event. */ static ssize_t -- 2.23.0