From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 821253A9017 for ; Thu, 4 Jun 2026 10:07:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780567676; cv=none; b=fMt9NqatHBurEXY0JXv/+a3w3EvtKop9CnMt6b4tNhKnZV9MHRH6lLPJKnmbwaxb4ZiVNRWOOZeMh538/iUt0wMBJXRgSoroAawn1qw2id56zDscGH0j8U3m9zlo4q9+98Wu/JHgGNmSFLthyKm5IhKDCUWITz52m851nyIcasA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780567676; c=relaxed/simple; bh=PVrtYn482Uy2xhK+iNP5/zfT13MIPXWgGPHs3fKF+HA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gEXP1QhuICusKoedQrE1ttbwRHS2Np7easAUxG4z6INipdQPb6hzPxUQ4uDT8WDDm0BX/fWXrXHJgYp1Fm60+8K0bDeQfDzKrPJiyJ6MHhvl3AOOKlDXSU75RCyiNTc+eGFfDi3oLrhS+c/d0ittZuleeX76/dgwzE8rOc9JRL0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hy56kqBc; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hy56kqBc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C41FB1F00898; Thu, 4 Jun 2026 10:07:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780567672; bh=fY8792ZE1BP7gPWmzXejL4aYfAPt6W6e5+24pISv2II=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=hy56kqBck/YQl3WKGdZ2T8ttwcobp3++Pdf19f16BWU8t4NEGP1NsR2agZH1/t3D5 vc5WsTHmAHhBKkvWc/URg61QvH5+2Vp7qDgEpFVdkRec+iXiO4bdgE9fiuHZ65r8A5 DOo3iJ0QfVtsSI4w3WHL1KirvV2BFVKEbxBnqlmyJIYGadhcRO44QHK03Dq3QZ6T1U wv95LiQThk022jkgzJCTCD9zQnbhK05Ai4dCgf9GmNLAF1RiZlCf+VqIVqS6z9AuGN p/xR4Poy0lH+gxHKgJrNHMdPMSDhiA3Zxm6wYdp8rf2iUrvRkH37CCE2asyVf+an73 XsElxA4rqCosw== Message-ID: <6f8df5e0-f630-40da-b94e-77202028d687@kernel.org> Date: Thu, 4 Jun 2026 12:07:48 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFT] powerpc/8xx: implement get_direction() in cpm1 To: Bartosz Golaszewski Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , Linus Walleij , Dmitry Torokhov References: <20260603-powerpc-8xx-cpm1-get-dir-v1-1-2ae1c9a5b992@oss.qualcomm.com> <8a5a1bce-b841-4eff-ab3c-4f09a7ba3b60@kernel.org> Content-Language: fr-FR From: "Christophe Leroy (CS GROUP)" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Le 04/06/2026 à 11:53, Bartosz Golaszewski a écrit : > On Thu, 4 Jun 2026 10:24:27 +0200, "Christophe Leroy (CS GROUP)" > said: >> >> >> Le 03/06/2026 à 10:26, Bartosz Golaszewski a écrit : >>> The lack of get_direction() callbacks in this driver causes GPIOLIB to >>> emit a warning. Implement them for 16- and 32-bit variants. >>> >>> Reported-by: Christophe Leroy >>> Closes: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore.kernel.org%2Fall%2F63487206f6e5a93eaf9f41784317fe99d394312f.1780399750.git.chleroy%40kernel.org%2F&data=05%7C02%7Cchristophe.leroy%40csgroup.eu%7C94897fc3d78242b6193308dec21f300e%7C8b87af7d86474dc78df45f69a2011bb5%7C0%7C0%7C639161636389791222%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=an4ji%2Bk24tiNfOASUmnvOyp6kLJzRlH8qhihSkGp%2BVc%3D&reserved=0 > > What happened here?? Ask Bill Gates. My company uses Microsoft 365 outlook, it mangles all links included in emails for security reasons they say, to minimise phishing. > >>> Fixes: ec2cceadfae7 ("gpiolib: normalize the return value of gc->get() on behalf of buggy drivers") >> >> Isn't it e623c4303ed1 ("gpiolib: sanitize the return value of >> gpio_chip::get_direction()") ? >> > > Sure, can be: > > Fixes: e623c4303ed1 ("gpiolib: sanitize the return value of > gpio_chip::get_direction()") > > Bart