Message ID | 20240114052751.17242-1-rdunlap@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-25405-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp1059539dyc; Sat, 13 Jan 2024 21:28:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IG43jtmeah4tzz68t65dFWd5Ya2f8A6DtSLD8e0jAOEtnjNwq54cSQat6mDHvQ54SR/bmUg X-Received: by 2002:a05:6402:516c:b0:558:e34a:dbb2 with SMTP id d12-20020a056402516c00b00558e34adbb2mr1184217ede.21.1705210091354; Sat, 13 Jan 2024 21:28:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705210091; cv=none; d=google.com; s=arc-20160816; b=fNlPGYZbj2IV80yLfZ1nDz3ruz3GbLVfvHpRhI3TJ65sEszVLmJrAIMYTf3Pc17Fbk cNvRE004iU0ovdM1Uk5Nn9sMGi/oqQsatZGeHNB0EkWx+GxCuK4597YkWPvFWMnNtvKa WXAKlHor+NKDYa/xf8b4pQV1bO/XgSuHedAB0Ru3NWeZVLgGGUvU3iAToVAQHBPUDWKc 6orqYO8qojtqSDXMsERmIjpdlqL2teQvttciFWEj3ehLpPDNP8B/2Y9v1apDQbl7r6XD sq83gxE1J7mCWzYRvHKaKZD3yD3RIl4699aSTxNuLjO8QvFT6e2ON2Bor3ExYMP7C4j6 zYTQ== 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=PzOpUmwBdQyN8LMxGGlblOE7kAHx3tOgseXWQh8nflI=; fh=5Z8mprQ85nRiaElCXJF6BRRRjHkVjSJAwQTiSaOa710=; b=BJh9H6xjv8rLHOMWp43FmG4Y1pCIT7IKc6a04U6xargpBMKkbymya1+9jcW1DGqQO+ uGEJRDeGJM5ykDGYOdVQz+2ZhKXTM5oOR8f/4TVVQAMpWYJzMmCaddHoHtHzzZIHlvea 9dm4B+ewk+3dBRbT95JAOejDoHRjsRgH8lmkXT6Xfi6ECMQhkz7BF7yrYo35Q/2U2kpY V8PbBy4OsJ7pPUb6uHayhSo5IlSyPpe3fEOoQKL2rdLAvxwCUtndoNklgl/fULNoptjU rThrGVehsqFxahXaptUhEIzikVXGxwY+U27gPKJ46Lxvp07PUDkzLEzKCJL78lGBJMlq asFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=4RvBwUxn; spf=pass (google.com: domain of linux-kernel+bounces-25405-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25405-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id v6-20020a509546000000b005533e54351asi2816210eda.452.2024.01.13.21.28.11 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jan 2024 21:28:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25405-ouuuleilei=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=4RvBwUxn; spf=pass (google.com: domain of linux-kernel+bounces-25405-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25405-ouuuleilei=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 005591F21E36 for <ouuuleilei@gmail.com>; Sun, 14 Jan 2024 05:28:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9EC441C3E; Sun, 14 Jan 2024 05:27:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="4RvBwUxn" 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 9ADA57E; Sun, 14 Jan 2024 05:27:55 +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=PzOpUmwBdQyN8LMxGGlblOE7kAHx3tOgseXWQh8nflI=; b=4RvBwUxnW3k5pW8bqEpheN9t9w NBsMvoiuGiSbupk3Bg5ul2y1T3ZsbjO8jBUNbsZHabrJvpvuo7Q3sMbgNRjI04/PNExV2tqqbByBL hzV/iF6Q171c/UTdnfll5G4z3CbtY6hfQc1IHK4vdHuOWuDthjA9g82+TKSF3SQr9wOuZME7wC4WL JVb5m9WD3Tgakbv/Qfp51trE46Pj62svfRIL7ZT2Dx6MqBVQLultphBebv4JcRCxoiv4YvF+IL4Tx wVAq0ZR0AN5yGNVTBBZL0WxMaHNvrcXgAiMRnFtY0dZG+3WyElLwXzoHOUW+eeQtyuPtPKbXG0/af vpledeHQ==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rOt2G-006Cyw-1B; Sun, 14 Jan 2024 05:27:54 +0000 From: Randy Dunlap <rdunlap@infradead.org> To: linux-kernel@vger.kernel.org Cc: Randy Dunlap <rdunlap@infradead.org>, patches@armlinux.org.uk, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Alim Akhtar <alim.akhtar@samsung.com>, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH] ARM: s5pv210: fix pm.c kernel-doc warning Date: Sat, 13 Jan 2024 21:27:51 -0800 Message-ID: <20240114052751.17242-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788042376496631428 X-GMAIL-MSGID: 1788042376496631428 |
Series |
ARM: s5pv210: fix pm.c kernel-doc warning
|
|
Commit Message
Randy Dunlap
Jan. 14, 2024, 5:27 a.m. UTC
Use the correct function name in the kernel-doc comment to prevent
a kernel-doc warning:
arch/arm/mach-s5pv210/pm.c:61: warning: expecting prototype for s3c_pm_do_restore(). Prototype was for s3c_pm_do_restore_core() instead
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: patches@armlinux.org.uk
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Alim Akhtar <alim.akhtar@samsung.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
---
KernelVersion: 0dd3ee31125508cd67f7e717
arch/arm/mach-s5pv210/pm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 14/01/2024 06:27, Randy Dunlap wrote: > Use the correct function name in the kernel-doc comment to prevent > a kernel-doc warning: > > arch/arm/mach-s5pv210/pm.c:61: warning: expecting prototype for s3c_pm_do_restore(). Prototype was for s3c_pm_do_restore_core() instead > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org> > Cc: patches@armlinux.org.uk > Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Cc: Alim Akhtar <alim.akhtar@samsung.com> > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-samsung-soc@vger.kernel.org Several checkpatch warnings: WARNING: Use a single space after Cc: #12: Cc: <patches@armlinux.org.uk> WARNING: Use a single space after Cc: #15: Cc: <linux-arm-kernel@lists.infradead.org> WARNING: Use a single space after Cc: #16: Cc: <linux-samsung-soc@vger.kernel.org> Fixed and applied. ount: Size of the ptr array. > * Best regards, Krzysztof
On Sat, 13 Jan 2024 21:27:51 -0800, Randy Dunlap wrote: > Use the correct function name in the kernel-doc comment to prevent > a kernel-doc warning: > > arch/arm/mach-s5pv210/pm.c:61: warning: expecting prototype for s3c_pm_do_restore(). Prototype was for s3c_pm_do_restore_core() instead > > Applied, thanks! [1/1] ARM: s5pv210: fix pm.c kernel-doc warning https://git.kernel.org/krzk/linux/c/52524ff0558b57e8b78d05d645456b0a77c787bf Best regards,
diff -- a/arch/arm/mach-s5pv210/pm.c b/arch/arm/mach-s5pv210/pm.c --- a/arch/arm/mach-s5pv210/pm.c +++ b/arch/arm/mach-s5pv210/pm.c @@ -47,7 +47,7 @@ static void s3c_pm_do_save(struct sleep_ } /** - * s3c_pm_do_restore() - restore register values from the save list. + * s3c_pm_do_restore_core() - restore register values from the save list. * @ptr: Pointer to an array of registers. * @count: Size of the ptr array. *