From nobody Sun Feb 18 16:29:10 2024 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 4TdB2G4p90z5B7Hj; Sun, 18 Feb 2024 16:29:10 +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 4TdB2G3wtDz4K38; Sun, 18 Feb 2024 16:29:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708273750; 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=aSgWFUYPxE+zN5V831wP1GFlyGrJtJowszWKTXHUVmo=; b=jrWXEYZzZw9G+dNRjNVEAPkkSFtqLAZuk5aTKiAj94PfhYNRsRijX12e7GI4bvd44H5M61 x1MIwE8WIp0o2EepvH6WGfE5XrWbrQ9UN9HxuaZkF4RIxKTJBghdhe5fb2qSFfijfhoV0g k1HYsjCzGkKO1Kmm4YQ+jCnl+BUs6q/h/6IbnEd8OoSNThk8+7l0BVF41A1M48DjWN+POl lgz4yRCa/BwDRYXfMm4U4tMVXGkwqeZEA17yyaj3e7mm9TkY/R8UwNB1oYyAh8VTtj28UB aZodF9WrTrivvglVyGdZ/7ye3yB7NPOY1WjQVmxbEc4XesaZvmTp9MafqBJr1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708273750; 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=aSgWFUYPxE+zN5V831wP1GFlyGrJtJowszWKTXHUVmo=; b=T+XStaYUl9gxThwIUrmmenv8axDwMmGIvjtX3FfkVXu3Z1whX5HAJNYjbPnbGTrN9WG9dp JhCe9J+8D9tW+g6PTwEh843qWSRdr6QPmQRr14FXblUq7kG5SsjhRWVOKnTtVSmx8KveJv kktRhFjpZ6ubF8xuL93XSE+s4LBso9WNSKa2tDWMyj5TuYhSI/w2Ps/VtkZdyC8VJDSKOn jEulg+IbL5/fCgzXk5gTc51/Ernj6WqyJjvDMzF4KsANyMOb+hmjFi4abs82Asscmq1ZxQ gzTiBO4WG5UuZb1jMtLl6Lit/qQ9SyfhTC/LY4i3MHx0goITIgB3W8jnSkgv0A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708273750; a=rsa-sha256; cv=none; b=Q8VAusdN8XfP1Ocy+K6Ti0CF61itRklI1brQzo3jKEQFh4A8GF/Y1162rbG0j+r54GpQQn pIYsij7CFBftpHKtG7y89fROgxSqnFV50uDz528Rmwfgr8RuOhi3rRptCR8PgCFdFfI14g kuo5iQ8ig5q+bQ7W0md/3RJBuXbXkqev2MYZB8jH9H6SociVY38s73Gk0UvRDg8nA8tOJF cgzitD0lidjavnU9mF/v1zKMfzcXimngah6UuWnMWRvCPBvHxlvmNX8IHTErb3DFZAeJQx fa8PTBx6j9wDEbFN80+X00nFTmZCBrDQc41qDhMeGuRwsiTTooJJykIU/m/JGw== 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 4TdB2G30tQzyDj; Sun, 18 Feb 2024 16:29:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41IGTAYK027986; Sun, 18 Feb 2024 16:29:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41IGTAZM027983; Sun, 18 Feb 2024 16:29:10 GMT (envelope-from git) Date: Sun, 18 Feb 2024 16:29:10 GMT Message-Id: <202402181629.41IGTAZM027983@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andriy Gapon Subject: git: a044cf60bd37 - main - rk8xx_poweroff: add parentheses missed in 8b408fc6f2 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: avg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a044cf60bd375f894b371fc87d148bf4704c05a8 Auto-Submitted: auto-generated The branch main has been updated by avg: URL: https://cgit.FreeBSD.org/src/commit/?id=a044cf60bd375f894b371fc87d148bf4704c05a8 commit a044cf60bd375f894b371fc87d148bf4704c05a8 Author: Andriy Gapon AuthorDate: 2024-02-18 16:26:20 +0000 Commit: Andriy Gapon CommitDate: 2024-02-18 16:29:00 +0000 rk8xx_poweroff: add parentheses missed in 8b408fc6f2 Fixes: 8b408fc6f2 MFC after: 2 weeks --- sys/dev/iicbus/pmic/rockchip/rk8xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/iicbus/pmic/rockchip/rk8xx.c b/sys/dev/iicbus/pmic/rockchip/rk8xx.c index 6cbfd19ff443..fa3e95c9a68d 100644 --- a/sys/dev/iicbus/pmic/rockchip/rk8xx.c +++ b/sys/dev/iicbus/pmic/rockchip/rk8xx.c @@ -108,7 +108,7 @@ rk8xx_poweroff(void *arg, int howto) int error; uint8_t val; - if (howto & (RB_POWEROFF | RB_POWERCYCLE) == 0) + if ((howto & (RB_POWEROFF | RB_POWERCYCLE)) == 0) return; device_printf(sc->dev, "Powering off...\n");