Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp3174490rdd; Sat, 13 Jan 2024 21:17:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IEiEuxZwabyi3TNSC2c4FpxSvQtL2T8jUNKuEWtl+nvipIphsVGdtPcebCwgPt5gDEJK3ex X-Received: by 2002:aa7:d0c8:0:b0:553:33b6:36d8 with SMTP id u8-20020aa7d0c8000000b0055333b636d8mr1781227edo.76.1705209472719; Sat, 13 Jan 2024 21:17:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705209472; cv=none; d=google.com; s=arc-20160816; b=EKaNt0EN92pTm6GbcSTwYi4Uo876OxjjGDjeiEBMVSbdK2VUFFgx+x4aQ8edhb+TZJ UZEmw5czFrDCpR+0zR4ZhXRuNcCV4B3XzteKwm3Biu0dzt58wOR1dVjExzeomksDt/eg HabFzZpFEf5Apdo9j36wGbB8uzmEyxCWbGHVa/fmo4+5gG+B9hV2adNARTHxjtJrsMRs LgLxWCZGXBl1FhydO6zeaJ/w9lpvmw6W4ANXA5Gwc43kPnhIZkkFE3Yp4DdakW9W6eI9 Rxgrln6pRQ9ZgLavBFiAEq7GcZzQvQVTp5P23kg3OIG6yz3wBsx3HRAOByGFxzRDdrta JcOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=CPQtu7/pS8bzdUYTqORQKwX5wbUpg7ZbTKuka+g4g+4=; fh=NUomETJyWvBrICZxbv8qUxfslgIDlNYBnyDOha54w8A=; b=u9fCGypBGUcnPUCUci9zvIe2rWCVV4SAa5QDAXZdB34bhOn7THIlGOew3mb45aUD4N VRyc6kPGoWGFjDXn6QOieaPPj7YaKQUCeCndvDFjaRv6hBL1rX+Jl33EfKQmeWIzD8C7 P5528aXRCL8q/H6RkmCK4IBD+nqCy9FEXJsSGdloF/4+JTcUTiUDdR3+yLxd10Mxs0n5 rGTT29oohL/eIqOHBz3Z2t7lnMTcxHPOD2zYjtc6ZJ8VlE5FlHBYSIxQi/grRx61J4Ns 7xCODacRXm16IljcAHOtX2CEysjZ2Kp4EW0nx3Y48z4qSOASxid9J8uN8hTALv5sXXy/ S+IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="Vno/ZvQi"; spf=pass (google.com: domain of linux-kernel+bounces-25402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25402-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q26-20020aa7da9a000000b005581f79ded4si2862972eds.672.2024.01.13.21.17.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jan 2024 21:17:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="Vno/ZvQi"; spf=pass (google.com: domain of linux-kernel+bounces-25402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25402-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7495E1F21DEA for ; Sun, 14 Jan 2024 05:17:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9C4C1854; Sun, 14 Jan 2024 05:17:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Vno/ZvQi" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D47A7E for ; Sun, 14 Jan 2024 05:17:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=CPQtu7/pS8bzdUYTqORQKwX5wbUpg7ZbTKuka+g4g+4=; b=Vno/ZvQisOZVmXFVrUOwfSARPa W6KsXT5zGr66smHvPNjZMlGKvJIaRZ8R57NoUvE6uVEzfuHQafRqNFWR6RWorj1ru6ZU4RV4qiLSg 4FJ08z/en0ZhreYm1sI54GC/hNc/b3/NmCujm46VXVXbc64TnmFjdk9oGvLJ2DLeGI3/+uEsOOEgl xv7+YGrZTc5accYinJoDantOV/hrsSU1DE5a2b/3ZDA8o2N3ICWBQ1LV+5IO9wgAoNt0+Mh/FCf9I ijfdqSFmZAmwrDbcebgNDJn+azYcRnTLEZg/3tVgs/1CDkEQtsnLLmBpJE8bk6JptoqnEwI+hh1z8 JzCT9gzQ==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rOssK-006CHT-2s; Sun, 14 Jan 2024 05:17:36 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Michal Simek , Russell King , linux-arm-kernel@lists.infradead.org, patches@armlinux.org.uk Subject: [PATCH] ARM: zynq: slcr: fix function prototype kernel-doc warnings Date: Sat, 13 Jan 2024 21:17:30 -0800 Message-ID: <20240114051730.16796-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Use the same name in the function prototype description and the function to prevent kernel-doc warnings: slcr.c:158: warning: expecting prototype for zynq_slcr_cpu_state(). Prototype was for zynq_slcr_cpu_state_read() instead slcr.c:176: warning: expecting prototype for zynq_slcr_cpu_state(). Prototype was for zynq_slcr_cpu_state_write() instead Signed-off-by: Randy Dunlap Cc: Michal Simek Cc: Russell King Cc: linux-arm-kernel@lists.infradead.org Cc: patches@armlinux.org.uk --- KernelVersion: 0dd3ee31125508cd67f7e717 arch/arm/mach-zynq/slcr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -- a/arch/arm/mach-zynq/slcr.c b/arch/arm/mach-zynq/slcr.c --- a/arch/arm/mach-zynq/slcr.c +++ b/arch/arm/mach-zynq/slcr.c @@ -146,7 +146,7 @@ void zynq_slcr_cpu_stop(int cpu) } /** - * zynq_slcr_cpu_state - Read/write cpu state + * zynq_slcr_cpu_state_read - Read cpu state * @cpu: cpu number * * SLCR_REBOOT_STATUS save upper 2 bits (31/30 cpu states for cpu0 and cpu1) @@ -165,7 +165,7 @@ bool zynq_slcr_cpu_state_read(int cpu) } /** - * zynq_slcr_cpu_state - Read/write cpu state + * zynq_slcr_cpu_state_write - Write cpu state * @cpu: cpu number * @die: cpu state - true if cpu is going to die *