Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp759642rdb; Mon, 29 Jan 2024 18:40:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGU67H/72vsX5K4SRw92rWO7sNODSU4kTIzLYQ8O8TLmwGB7Mb1P1YEuYQC/MwlHjBI8lEK X-Received: by 2002:a05:620a:6085:b0:784:714:8fbc with SMTP id dx5-20020a05620a608500b0078407148fbcmr1389701qkb.73.1706582436756; Mon, 29 Jan 2024 18:40:36 -0800 (PST) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id dp5-20020a05620a2b4500b007840854fa57si1390046qkb.613.2024.01.29.18.40.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 18:40:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43839-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=Dv7v+6vH; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-43839-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43839-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 7CEB31C24A84 for ; Tue, 30 Jan 2024 02:40:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B66936AFD; Tue, 30 Jan 2024 02:40:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Dv7v+6vH" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 76253364DB; Tue, 30 Jan 2024 02:40:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706582424; cv=none; b=CWkIXWJ6ZdGq0dJW6EmV7HyWxc+Mae0ssOB1InvY+TdN7or1wbAXroOnP/+3WLjs3YC727ZcQU0/3/4rqOXuRofprEI/fmWqRluJaQGh1s+FeXyZxPyNiVaF4cSm/34c2BMixSAi0B9BedGGYS3LYHpT/4fdFsMG+YjB+x4b9hk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706582424; c=relaxed/simple; bh=l7iNsmx66/1U9HxfyV71kF0ouS2w3G1prRYjdiYH400=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=jxaNNtsZ62xcXzgkORBGbbSdbSh7iiAvAJaE8i5bnC4bF2wGv2ukdISbM8EGHS/7dtNyqD9oQ8JNg1w78UQqqcugLugFimMiQUFR191jc8d1ohK/4YYQl0jztCwvHFle+xOXLmiI0QQzxMW3wkGvZz3tGlfyF/tKYVWdB0sXMUo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Dv7v+6vH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id E108DC43390; Tue, 30 Jan 2024 02:40:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706582424; bh=l7iNsmx66/1U9HxfyV71kF0ouS2w3G1prRYjdiYH400=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=Dv7v+6vHX7w2nWdv48sCcWYELRt2RoCzt/qpZHXF070TN+XywaUZpAmTWgwvy3q7H yo2cZlOyL17Q5VwvpnZYMgiCilBmDyM/PF3kIf8NyUj2ubSomhRc8sjHXtl5mDP3C1 nJiQ/Lri9CklZD71VlGHFuMrQ3usJZqR/owPBxvBrPPMncLgN861fh7V8fWJR1RpeE +OLqtSVSXMjapWKItQMpKf6ow90Z7dUn3YZsdM1XvtEdfz7M4x3+e4tpqXaFfCMdYn PUJCqZRqE9S8wwda1svYllQd5Q/zCBV7fjjNX8uWiPUWWDQ0JqrPvH/5l4aGtmAQCO sI9RvLe5IX8/A== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id C668CC561EE; Tue, 30 Jan 2024 02:40:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v3] net: dsa: qca8k: fix illegal usage of GPIO From: patchwork-bot+netdevbpf@kernel.org Message-Id: <170658242380.31723.8345340437270157023.git-patchwork-notify@kernel.org> Date: Tue, 30 Jan 2024 02:40:23 +0000 References: <1706266175-3408-1-git-send-email-michal.vokac@ysoft.com> In-Reply-To: <1706266175-3408-1-git-send-email-michal.vokac@ysoft.com> To: =?utf-8?b?TWljaGFsIFZva8OhxI0gPG1pY2hhbC52b2thY0B5c29mdC5jb20+?=@codeaurora.org Cc: andrew@lunn.ch, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, ansuelsmth@gmail.com, rmk+kernel@armlinux.org.uk, kabel@kernel.org, chunkeey@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, petr.benes@ysoft.com Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Fri, 26 Jan 2024 11:49:35 +0100 you wrote: > When working with GPIO, its direction must be set either when the GPIO is > requested by gpiod_get*() or later on by one of the gpiod_direction_*() > functions. Neither of this is done here which results in undefined > behavior on some systems. > > As the reset GPIO is used right after it is requested here, it makes sense > to configure it as GPIOD_OUT_HIGH right away. With that, the following > gpiod_set_value_cansleep(1) becomes redundant and can be safely > removed. > > [...] Here is the summary with links: - [net,v3] net: dsa: qca8k: fix illegal usage of GPIO https://git.kernel.org/netdev/net/c/c44fc98f0a8f You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html