From patchwork Wed Dec 20 06:02:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 181465 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp2442395dyi; Tue, 19 Dec 2023 22:03:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHAhWPGVbEp/nrE5fL7xySCJe/MLQ/jgRmS4/l4UqnEvYJMkSu0Gzf9vW5fiW2/mhYhyjYs X-Received: by 2002:a05:6e02:2191:b0:35f:ae99:82f2 with SMTP id j17-20020a056e02219100b0035fae9982f2mr7460408ila.3.1703052188855; Tue, 19 Dec 2023 22:03:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703052188; cv=none; d=google.com; s=arc-20160816; b=VkiK/4Cqhg8ahuOILaPnOrBSOSjm8LswCRYmJo/PxUAd9Xq+Vt2rSV4cvE+AdH7Em1 wqbpnYvo/U1ayCtLNWRxzn6Zxj02b+fB9jiDDPvdOFKXSui+m08sWu/rMhLE5mWwSMSk 7ZfMAJBjfqjzY6v63nqgMG0ZqxG+3RvmZw/L06VZkspGSoG0tjK1kJFcsV1Xjk4b4DN+ V+EYezlCozRrQxhQ2dHCd+LC3JKJUMtXgYeBch5Xr+scWNZvsJ03y7wNo0ng8Ls4jgHX HI/rfOyiFoCenYgmKNmuvtrGA7AhOMvDp3OSgKb73KHcOHzgVszgAoX9A23QRvomt35j nMCQ== 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=V2XLrvBNlSvWfWER+NFbcM1HOV3BBjacqgahQWtCuOM=; fh=L8RyBeCL4bQmYebIzuLLZOLPbv25dSrNnE84igjWuIo=; b=sWno0xQ0FKtpwE9e7uMRVIN0KlgFvYwEYPjcWVxdG/V0JsTvVbA/rkPW5Io5Ou53kq sbA5XThW3Tho9p68UQU4QLpQYxJXs5Wv5/iujShYyogLlxa0EFX+dWF4tmuJJo/6+mkq tDpsLaItNhB7BRdZIeNWaiLxUMsq6ZHgAPkSCE0xdTlzgxlQ7O9PbMISyoVR0V5k5xLj kqM6L1Fumz7EJIoMzyQ4OgN/++DnrOk7riHYNg0pqtZT8DiGGGuZUn7sPgQ2NdAiMQPG D55N+doNQimXV/ugYAGbtMykkosP4jMZDJ81Wf4UvkBUPsU9P3GyLOWzJJ3N0YV/ss59 eHzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Xk7beHXK; spf=pass (google.com: domain of linux-kernel+bounces-6397-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6397-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id y18-20020a634b12000000b005c6259da621si20473201pga.555.2023.12.19.22.03.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 22:03:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6397-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Xk7beHXK; spf=pass (google.com: domain of linux-kernel+bounces-6397-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6397-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E5A6FB23776 for ; Wed, 20 Dec 2023 06:03:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A66D4125BC; Wed, 20 Dec 2023 06:02:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Xk7beHXK" X-Original-To: linux-kernel@vger.kernel.org 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 6331516403; Wed, 20 Dec 2023 06:02:48 +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=V2XLrvBNlSvWfWER+NFbcM1HOV3BBjacqgahQWtCuOM=; b=Xk7beHXKtJ6Wz9V6Fw3nuUGOED UFmT6F7UO9YDBALVRzKcbM3UMF6Kc/0z5AESygtNhc2dqThgxkqV6lvphbtUCOGZtLMA4wQ95OoAa fhT7juFXJ7nCATsKlitGecglDtMkQiT55Qm31aRpgNEoLDtxVsFWyj3WoREU00pRg/0DrVGLwEfji pTn/539nYu5tSRR9MSAHxPJhBO9XhqxXiD9HOCpUi6Bt+6ryrFEFXlPKL3Y+7EjXpJBBVHkMGyTko 2V9/MZgBYT29fy4RoZVySi9zIwAeuxfYJK5k7KCcl/OhdUuiOszeDlh7ieWzo2oQjU+myJ75HyOrJ ECD83tsw==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rFpfK-00GF2z-26; Wed, 20 Dec 2023 06:02:46 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , "Rafael J. Wysocki" , Pavel Machek , Len Brown , linux-pm@vger.kernel.org Subject: [PATCH] PM: hibernate: repair Excess function parameter warning Date: Tue, 19 Dec 2023 22:02:46 -0800 Message-ID: <20231220060246.511-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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785779652164198595 X-GMAIL-MSGID: 1785779652164198595 Function swsusp_close() does not have any parameters, so remove the description of parameter @exclusive to prevent this warning. swap.c:1573: warning: Excess function parameter 'exclusive' description in 'swsusp_close' Signed-off-by: Randy Dunlap Cc: "Rafael J. Wysocki" Cc: Pavel Machek Cc: Len Brown Cc: linux-pm@vger.kernel.org --- kernel/power/swap.c | 1 - 1 file changed, 1 deletion(-) diff -- a/kernel/power/swap.c b/kernel/power/swap.c --- a/kernel/power/swap.c +++ b/kernel/power/swap.c @@ -1566,7 +1566,6 @@ put: /** * swsusp_close - close resume device. - * @exclusive: Close the resume device which is exclusively opened. */ void swsusp_close(void)