Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp644843pxu; Fri, 23 Oct 2020 09:41:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzOtUMmc4+qEW1ECZfmevUbURUk3sknXmDz3uZOF0+GLQKejvefQI4303M9c5uWmpMkAo3 X-Received: by 2002:a17:906:6453:: with SMTP id l19mr2860370ejn.366.1603471272659; Fri, 23 Oct 2020 09:41:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603471272; cv=none; d=google.com; s=arc-20160816; b=aJzSqQEFKSNuChHa0PsZysVEwlOPzqpxo6B/lZfpO840TXEJDx2Us8NZ4XBJXqSn4T eVGg0JZJ2VqK0oV4paeGZpqYxg+1wzMt4Eq18NNZ+t1ELgitVK8ZufzHVcH7hHyEERof KLHwgZixUlG2rAa4qJoxPjDwtzVNa/HdOOBKOg/QyNC74ZykT/LcApLsCu6dFtXrGbXt ecGRdNHGReQLki2hcqf/cGzXxIWQ6ZveNJqtDiVKNGwgAiHTkgzyaLUDzw5a4r3rpsoF JaOlQGv4kcEgzATcjPYtKFsC7jIgsnp18V9d0bH8xYHY8SRl+LsTrWMwF93dwj6Ll2qw 0gzw== 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 :dkim-signature; bh=ym2kphaIgp349P7uQTw9dgyEggPAsOSDHS/7xe+hhuc=; b=dEOE2nZcoFpbjb5+hO0lYBtPUJWQGB95c1t/y/Np18VEFc/xDmneObAG0ZKsaMOTKY qR+GTtqtQKZHxlkj7SwgiSxiZNp0T08555zYEkOWqdYoWl+R1cjBenXqHpnNW3Qvdh1m eXyss/Wt4NKJGO8Nk1uMorfocZJyD0tJnoHuazaRQd9v9B+RRTkpGcqAztMAqvdCB5cT 8LpiV6i7LxNlBASVIe3qjHKQQvf5KSKf7+SbxBXF4+L2nLoHvpBEG4N+v2f4ZmBMeSLV 83vSBIbKt/McbkEvgAPglRPKcT+H45d1HWK8b3KudrXxxH9BQOntt6km8qkCdPJ0HI5J l27A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="MFanc/i1"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t13si1287635ejr.92.2020.10.23.09.40.49; Fri, 23 Oct 2020 09:41:12 -0700 (PDT) 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=@kernel.org header.s=default header.b="MFanc/i1"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751111AbgJWQio (ORCPT + 99 others); Fri, 23 Oct 2020 12:38:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:33132 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S465672AbgJWQds (ORCPT ); Fri, 23 Oct 2020 12:33:48 -0400 Received: from mail.kernel.org (ip5f5ad5a3.dynamic.kabel-deutschland.de [95.90.213.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0CECF24655; Fri, 23 Oct 2020 16:33:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603470827; bh=nT+N+cDqRMSdMopYlBC9EqpjXb3tIbAp0+W/XgZ3fAY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MFanc/i1EBFbkN/NDUqHAK0tFpfQtmPXV1wdzzrGLfkfnjez1vBPm8ENrtO4+suSd id9C4rPhvYVMEnzKV4VqgO3I/mNXI6nDbzp22JksIX82DFTnVYzciwtRcZC3Ph94WR ptmM4fZTOCZT4SsBuA4Trvo50Bq02+vfyK/RUbrU= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kW00e-002Avh-W7; Fri, 23 Oct 2020 18:33:45 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , Borislav Petkov , James Morse , Mauro Carvalho Chehab , Robert Richter , Tony Luck , linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 10/56] EDAC: fix some kernel-doc markups Date: Fri, 23 Oct 2020 18:32:57 +0200 Message-Id: <1d291393ba58c7b80908a3fedf02d2f53921ffe9.1603469755.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kernel-doc markup should use this format: identifier - description Also, some enums are using wrong names at the kernel-doc markup. Signed-off-by: Mauro Carvalho Chehab --- drivers/edac/edac_device.h | 11 +++++------ include/linux/edac.h | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/edac/edac_device.h b/drivers/edac/edac_device.h index c4c0e0bdce14..f90cbbb2ff73 100644 --- a/drivers/edac/edac_device.h +++ b/drivers/edac/edac_device.h @@ -258,7 +258,7 @@ extern struct edac_device_ctl_info *edac_device_alloc_ctl_info( extern void edac_device_free_ctl_info(struct edac_device_ctl_info *ctl_info); /** - * edac_device_add_device: Insert the 'edac_dev' structure into the + * edac_device_add_device - Insert the 'edac_dev' structure into the * edac_device global list and create sysfs entries associated with * edac_device structure. * @@ -271,9 +271,8 @@ extern void edac_device_free_ctl_info(struct edac_device_ctl_info *ctl_info); extern int edac_device_add_device(struct edac_device_ctl_info *edac_dev); /** - * edac_device_del_device: - * Remove sysfs entries for specified edac_device structure and - * then remove edac_device structure from global list + * edac_device_del_device - Remove sysfs entries for specified edac_device + * structure and then remove edac_device structure from global list * * @dev: * Pointer to struct &device representing the edac device @@ -286,7 +285,7 @@ extern int edac_device_add_device(struct edac_device_ctl_info *edac_dev); extern struct edac_device_ctl_info *edac_device_del_device(struct device *dev); /** - * Log correctable errors. + * edac_device_handle_ce_count - Log correctable errors. * * @edac_dev: pointer to struct &edac_device_ctl_info * @inst_nr: number of the instance where the CE error happened @@ -299,7 +298,7 @@ void edac_device_handle_ce_count(struct edac_device_ctl_info *edac_dev, const char *msg); /** - * Log uncorrectable errors. + * edac_device_handle_ue_count - Log uncorrectable errors. * * @edac_dev: pointer to struct &edac_device_ctl_info * @inst_nr: number of the instance where the CE error happened diff --git a/include/linux/edac.h b/include/linux/edac.h index 15e8f3d8a895..52d7487f6bd4 100644 --- a/include/linux/edac.h +++ b/include/linux/edac.h @@ -229,7 +229,7 @@ enum mem_type { #define MEM_FLAG_NVDIMM BIT(MEM_NVDIMM) /** - * enum edac-type - Error Detection and Correction capabilities and mode + * enum edac_type - Error Detection and Correction capabilities and mode * @EDAC_UNKNOWN: Unknown if ECC is available * @EDAC_NONE: Doesn't support ECC * @EDAC_RESERVED: Reserved ECC type @@ -309,7 +309,7 @@ enum scrub_type { #define OP_OFFLINE 0x300 /** - * enum edac_mc_layer - memory controller hierarchy layer + * enum edac_mc_layer_type - memory controller hierarchy layer * * @EDAC_MC_LAYER_BRANCH: memory layer is named "branch" * @EDAC_MC_LAYER_CHANNEL: memory layer is named "channel" -- 2.26.2