From nobody Sat Jan 28 03:41:45 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P3gGy1641z3c6wF; Sat, 28 Jan 2023 03:41:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P3gGy0WKHz43r7; Sat, 28 Jan 2023 03:41:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674877306; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IPH9N+sJCFHDY7iZxFiR/ORZZJZx9xlxBH5wefDi4X0=; b=fbRpkh2Mp87+P4JSpYnR5qDsAhSljHkUdOXknBhv98KAgtPC1v6ObzuolIoTbCPTL4hb92 AbstMe0uzXeK5+hBZ+w86dCtPizCvzSXrI65vWVRUDoi3zyJhYgY40bwPHjElK6tjp3k23 V20jnCAQJTI/HI2uv4jDV6UwIe2H0i24qOuMeOLvlMEcRQDkNvgpW+Q2OJrryj7UjvP6vb zL7EgBmHXAUew7/ufwwzpZkEXz06bC0Xypj0QX0Am6hG/uJui0yLxAKJiA+gp+GKiX4//c 5kMnhhOnNoUxHEt2+s8i7IfpMftrQfCxUN+Y6He7zuiuE+U7hIwumxr3seFC7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674877306; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IPH9N+sJCFHDY7iZxFiR/ORZZJZx9xlxBH5wefDi4X0=; b=o8jEDFzt5GvVQNtHfiyt1A7IELH6mheUOMZFdsafhgsu/CSwOGhTVvlM5wiusZqn66p6pF eEi75Biug62nuHzLZE1zjScfIBYpgvSAlA7eYheB2aSp7kawvGwWBQ5wgvtGUcReq3+V8u B0byfg+tJfUjFNftFjUT3zxK7jKV4nyrcLjlJHqT034+K/jdlAyLA54YorC/YPJ3rL29in +F6UAsNiQ1rnvUq/8Oj1YRN5jLyaFn3tJaKUckH4nt3MzqbbfShWAj4lq7EEQLRMkA+8H1 GXsoCbUufaiDtF+1fPXmzoLWu/0t49F81TnNhN0iFhhSbx5BCjDW9XdlKgUujQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674877306; a=rsa-sha256; cv=none; b=fxBlpAicrhl71pMsxIsV4US2DkzdVQwo4akNL2umz4OoIBWfjWaDK3TO55Fwh+jTV9KMBt xJR3kdo8WkVDqiqF5gOPFmGv30CupXlBWCH7W05xq6IXCOEGvA/7JT9WRLLDwsnQHFYk2m 4g9Hu3UhgF0w08sPU5ij+mCfWBLG9BmCU1bBJ2Vzdqa/8AkdArKUvD5+bLspn9UUbttUzD hj+9kdjBzaDKdx93aOZ0dycKK5c7DHqZrmOlv2uB3dfQZ3xM5SgFx7xIU/THL98r2QE4Lb FqRLKXMpCw1+zEsKXZ6hqE/FGsRtF4+w6zdHY8kUQ8p5eK7K/pY4uII/azLwTg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P3gGx6hQfzZ9t; Sat, 28 Jan 2023 03:41:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30S3fjv6039546; Sat, 28 Jan 2023 03:41:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30S3fjDo039545; Sat, 28 Jan 2023 03:41:45 GMT (envelope-from git) Date: Sat, 28 Jan 2023 03:41:45 GMT Message-Id: <202301280341.30S3fjDo039545@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 4d77927e2af3 - main - linuxkpi: Use a proper declaration for pm_suspend_via_firmware. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4d77927e2af3a991c5b07071b7fe18673d7742f2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=4d77927e2af3a991c5b07071b7fe18673d7742f2 commit 4d77927e2af3a991c5b07071b7fe18673d7742f2 Author: John Baldwin AuthorDate: 2023-01-28 03:29:39 +0000 Commit: John Baldwin CommitDate: 2023-01-28 03:41:35 +0000 linuxkpi: Use a proper declaration for pm_suspend_via_firmware. Reported by: GCC -Wstrict-prototypes --- sys/compat/linuxkpi/common/include/linux/suspend.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/include/linux/suspend.h b/sys/compat/linuxkpi/common/include/linux/suspend.h index 8458a6f6d4c5..9bd6c2c55875 100644 --- a/sys/compat/linuxkpi/common/include/linux/suspend.h +++ b/sys/compat/linuxkpi/common/include/linux/suspend.h @@ -11,7 +11,7 @@ extern suspend_state_t pm_suspend_target_state; #define PM_SUSPEND_TO_IDLE 1 static inline int -pm_suspend_via_firmware() +pm_suspend_via_firmware(void) { return 0; }