Received: by 2002:a05:7412:d024:b0:f9:90c9:de9f with SMTP id bd36csp224557rdb; Wed, 20 Dec 2023 10:22:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IF2KoNy/CdzPROFmKIrz9ZIoFx546RI2UxCMhG1vYaQF3w6c4EzYEfxeQkHT9sAdXDPZ7As X-Received: by 2002:a05:620a:3cf:b0:77e:fba3:a79e with SMTP id r15-20020a05620a03cf00b0077efba3a79emr15269349qkm.124.1703096545802; Wed, 20 Dec 2023 10:22:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703096545; cv=none; d=google.com; s=arc-20160816; b=MPgjAQFfbnFbonehoLM6u4J7pvd2ythk5gRvOE26xxfjUI3x0pR0my4CkimCWvhsiM X0U+16tjQFrrd2zlvzB/QYLhPN+50x7Ufxcnx6opSlUBw8UzJy/MyRKCN+Bgdoy+YDdQ shOEBxKbPWAQrIKnEZBjb+NV9X8qesX6Dn6YoDjooHm9ciS9eyXFf9Ev9tGa7CVk8W2n tYgaNl99peMXakRs3dQukLk895tqdshS5lWPbXQkVwaNvMTeLhn06Xy+rY6H6sJuuux7 sntmm3x5ievszhzlnu2Ip7UEPYyKG+r1Bnja3sItwj7MPSZSDcpeYhq7uYwywapMZhyL 9Yhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=cz9nCY0lBWeBe/6fDVIe0LtBpt68ywz5BRZ2PUIWCi8=; fh=hL0EwwZaka3D6pVq7Uh5gMjAroygQP0lvwW4fACJ76Q=; b=uPb1nxPfy8XxRcmE9XLqDDkV/i7adOYQFTBR86CbSwMyuNHP+WFXrlkz5yiFi4Kj0u hN5+sUq6n2pRZ+85P3unQs+C6v59hKcSRI+9lGqt47NUGXeQhpsQ/Yxc3CzuO5PJU2HF yRI7u8vFHrcVGurqlNQjrw3UNvBbybqM8mMxgeJ5paIBb/LFWMpfV9fxpW+IQJr8ZM52 X3rPM4FbT23gYx4tTmaHdJnPs8XFycC034EFVvz+oGCEZfyLXrBxk4gDmdT4bKHH+HHM /vbCTwE6vbs1pO4WIccoDainNpSYvkq3cAsjd4e7lzNV2/RbADWXVu00np9IC1tq+6lW sTjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-7375-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7375-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j6-20020a05620a288600b0077f13ba49efsi306525qkp.82.2023.12.20.10.22.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 10:22:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7375-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-7375-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7375-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 84DC31C22707 for ; Wed, 20 Dec 2023 18:22:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 72183482E7; Wed, 20 Dec 2023 18:22:17 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail-oa1-f45.google.com (mail-oa1-f45.google.com [209.85.160.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9D17482C2; Wed, 20 Dec 2023 18:22:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-f45.google.com with SMTP id 586e51a60fabf-20371a67c5dso552691fac.1; Wed, 20 Dec 2023 10:22:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703096534; x=1703701334; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cz9nCY0lBWeBe/6fDVIe0LtBpt68ywz5BRZ2PUIWCi8=; b=HrTdt82cHS7cYSi/zPjpOvjStNUWanrP/ZZOVawxuIkhGf6yGehpjRnMHCYbwdUKDR /EBe1D8VmWPILwhoh4qnCASTa3SNrGEn8KWdvlCDMM/4kCF26Oi7xyO/AsBHYrS5om7s aex8qiCYneYZoRloUnQIgx7ad+Hzr0x8HMaeEAV9tQKfV+qFStYP87yuY3bDealt4j+y HM8bHDMnmN0tsuxZOVhVJWbEjcwSGEwzIWhJVTTQiM6tG3O5rY5g9JiVxd9BmDnPywfY bhOG4IMpnkSQuvmDddNEXl6JGrcK0+Y0usQUlOVklxRL9OvqEpXDGDOHYo0nmRTVlZFf x3iQ== X-Gm-Message-State: AOJu0YxPYKWMnBDPLzaO1DayGIgvoqq6xeEBGViBrlkNJuYitFl0sQyd Tvk2gpd+1zwD/ovZDAqPYSSW3ylBZ74SawQkuuw= X-Received: by 2002:a05:6870:9591:b0:203:e5bc:154a with SMTP id k17-20020a056870959100b00203e5bc154amr6974236oao.2.1703096533719; Wed, 20 Dec 2023 10:22:13 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231220060246.511-1-rdunlap@infradead.org> In-Reply-To: <20231220060246.511-1-rdunlap@infradead.org> From: "Rafael J. Wysocki" Date: Wed, 20 Dec 2023 19:22:02 +0100 Message-ID: Subject: Re: [PATCH] PM: hibernate: repair Excess function parameter warning To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Pavel Machek , Len Brown , linux-pm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Dec 20, 2023 at 7:02=E2=80=AFAM Randy Dunlap wrote: > > 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 i= n '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) Applied (under a slightly edited subject) as 6.8 material, thanks!