Received: by 10.223.176.46 with SMTP id f43csp4277822wra; Tue, 23 Jan 2018 07:05:34 -0800 (PST) X-Google-Smtp-Source: AH8x225MP5xFwF7aMwebGlhdmpqhVPW2gtgMfPQ5r+0wDChH6ZorW4sS1ARQSBYRN0vi6JamQCbt X-Received: by 2002:a17:902:71c6:: with SMTP id t6-v6mr6120326plm.318.1516719934011; Tue, 23 Jan 2018 07:05:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516719933; cv=none; d=google.com; s=arc-20160816; b=HIyUdR4AIra30Q44bPrdwkDaUa80mwcHidNd8smGkaF2ei4keOimF5mHsxrisyHlGo QGRuVHOJBI4dw7pDqhj7RRfiGxllUltkxSwobrUGR4qRRcf/t7Wnwa7eepqNJEURvvii 1oG+qmkpbfNIQXguMhvMI7d0akeSoVu9Utenv5iv9uXjzadhN6kDM8QWrMkxrP2UO4dP DFyUmbSWpE5qB3o/RCpb7DqnDsZycUB7YVpKHDeyr/wlApfCHEKAtiOP0R1rZVLHQwka +Ue4ZusVcbYrad/fto9zPOd6+g5giLyAidIUuQnxtOsjAOdi1B6/sLEGAjztUg8gRtiz R35A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=9BxngQz7F5sNtyWdGSp7UFb3ZYkPUiGcEehwv6oDiWo=; b=zJj3jTKnZ3q7n6ichQxccE1Zp7UVahQWt/UYQ3pmd4CX/7F/OnSqQEZU+Bby7me6lv da8FzQ1Rpax0B3O9EnMy0nwbB80kd6OK3e9w/LApAMqc/zgW/AvnOOwl/px3rYBkGvgP rifqVVlHmn8Ih66F1i8thpPXvhSCiFs46C8zTs3XyQshLT8jt8sBnx/v+xAONmbtP4yl wHOyzzNpDBOdtvGWC7t0iD8l4cdKcoLlEI8aWcgTmHGGrgtOgRy66TAigXBjfRJguqpZ PERDL0L92sfMuk/udDEWMxS9UDP6KmN9vX31v8yah31atMgRPbEvNM+bRsY/1yps1o+N ZDXw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b24si13990339pgn.767.2018.01.23.07.05.15; Tue, 23 Jan 2018 07:05:33 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752272AbeAWPDH (ORCPT + 99 others); Tue, 23 Jan 2018 10:03:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:18483 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752241AbeAWPDD (ORCPT ); Tue, 23 Jan 2018 10:03:03 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 53B7D7853C; Tue, 23 Jan 2018 15:03:03 +0000 (UTC) Received: from localhost (dhcp-192-222.str.redhat.com [10.33.192.222]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C0F61176C2; Tue, 23 Jan 2018 15:02:59 +0000 (UTC) From: Cornelia Huck To: schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com Cc: corbet@lwn.net, sebott@linux.vnet.ibm.com, oberpar@linux.vnet.ibm.com, linux-s390@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Cornelia Huck Subject: [PATCH 3/3] s390/cmf: fix kerneldoc Date: Tue, 23 Jan 2018 16:02:45 +0100 Message-Id: <20180123150245.30312-4-cohuck@redhat.com> In-Reply-To: <20180123150245.30312-1-cohuck@redhat.com> References: <20180123150245.30312-1-cohuck@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 23 Jan 2018 15:03:03 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make sure we use proper Return sections, and make the output for cmf_enable() less odd. Signed-off-by: Cornelia Huck --- drivers/s390/cio/cmf.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/s390/cio/cmf.c b/drivers/s390/cio/cmf.c index 5e495c62cfa7..6e4f50d5b655 100644 --- a/drivers/s390/cio/cmf.c +++ b/drivers/s390/cio/cmf.c @@ -1118,9 +1118,10 @@ int ccw_set_cmf(struct ccw_device *cdev, int enable) * enable_cmf() - switch on the channel measurement for a specific device * @cdev: The ccw device to be enabled * - * Returns %0 for success or a negative error value. - * Note: If this is called on a device for which channel measurement is already - * enabled a reset of the measurement data is triggered. + * Enable channel measurements for @cdev. If this is called on a device + * for which channel measurement is already enabled a reset of the + * measurement data is triggered. + * Returns: %0 for success or a negative error value * Context: * non-atomic */ @@ -1160,7 +1161,7 @@ int enable_cmf(struct ccw_device *cdev) * __disable_cmf() - switch off the channel measurement for a specific device * @cdev: The ccw device to be disabled * - * Returns %0 for success or a negative error value. + * Returns: %0 for success or a negative error value. * * Context: * non-atomic, device_lock() held. @@ -1184,7 +1185,7 @@ int __disable_cmf(struct ccw_device *cdev) * disable_cmf() - switch off the channel measurement for a specific device * @cdev: The ccw device to be disabled * - * Returns %0 for success or a negative error value. + * Returns: %0 for success or a negative error value. * * Context: * non-atomic @@ -1205,7 +1206,7 @@ int disable_cmf(struct ccw_device *cdev) * @cdev: the channel to be read * @index: the index of the value to be read * - * Returns the value read or %0 if the value cannot be read. + * Returns: The value read or %0 if the value cannot be read. * * Context: * any @@ -1220,7 +1221,7 @@ u64 cmf_read(struct ccw_device *cdev, int index) * @cdev: the channel to be read * @data: a pointer to a data block that will be filled * - * Returns %0 on success, a negative error value otherwise. + * Returns: %0 on success, a negative error value otherwise. * * Context: * any -- 2.13.6