Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp10874pxb; Tue, 2 Mar 2021 17:20:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJzuBFePxrZgni+wnQMP/gpKndptgsS861/5hn/wLR3AkKIWZFcabKZT/h8/mCRaPNktpWkk X-Received: by 2002:aa7:cdcf:: with SMTP id h15mr780199edw.28.1614734421913; Tue, 02 Mar 2021 17:20:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614734421; cv=none; d=google.com; s=arc-20160816; b=zMeXVyjGA5joWfR3LA0b1e7ebDbP6kKuTU6YEgA6mR0UQsFqrKiobFFGqM5cVt0NQz JXFkIKYvdTS7pDiuYpPxP69EsIAEMp08vQNdbKxfi4HyDwgm9Uo5LRLuXxX6opxtpgKl UhS32ngBadb76PVgQHAIY+b//olvsXMPyZFjtj2x6eNpGrrRSZjoyDa3CtIupi9P6eH4 Lqwm1DMbOoExHX+whTMEi+B+En8QbunR2czrRxPttAgzrgHz1z5fRYdcHgjGxtgDzU5R 3Gnzd9Vgk2gJ+hyBHsk64rYVBtLExdtOqgDDHVm2xnp1VNfMbHvRo+Bq7gn0125Bm1Ns zTuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=r0+snQP1OepvOAiKkI6VdpONCkQ1/Rgo1L2y7WjmwNk=; b=T+TYINDvrJPRFBn6JZS0aYC0/ZblN0XxNRyUN8tXI+jioE+P9ago+W7Xabvfu5/ZFD /6x6G5r759O7V6//+rhu60r/iOZLm7kCtD/JLK8flVhiBsi7fGmKZiAWDIbBkEPj6nnj 7SC2PXvbu0gyh8Brdf8QOZDoqDtk+YGwbUEweoYJxwIv6C4/CYSlt+dek1+Dh/v249oU f59XBBfCB3Ng9g7bljzkx4KZ3TpIqHRJ82TvBJXDNpmi79JeEDIzSMffM7L/xNdIzR8S 9DiHXngT+CHPpQ14/aIiOvcdhqRZ3AhD8HM5Zbz8Fe3YlQ9soBGTqJXn0YUwczF/ACJQ jbSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=nGmjnLE7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v13si14444625edl.450.2021.03.02.17.19.56; Tue, 02 Mar 2021 17:20:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=nGmjnLE7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233680AbhCAJNM (ORCPT + 99 others); Mon, 1 Mar 2021 04:13:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233429AbhCAJNM (ORCPT ); Mon, 1 Mar 2021 04:13:12 -0500 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E26F0C061756 for ; Mon, 1 Mar 2021 01:12:31 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id f6so3878299edd.12 for ; Mon, 01 Mar 2021 01:12:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=r0+snQP1OepvOAiKkI6VdpONCkQ1/Rgo1L2y7WjmwNk=; b=nGmjnLE7ZDBq3oOYbXNMIcEoVDx/O0RUm+YOH3vsrEji5UGz604U8C2Ai/8G9RcvcM L7s16lIwr4uZZVA+i3iB+bIHTuDi7EgQ69dBx24+h6IQM9EpcRygR3erd7kIqZhYft58 jADpQ8lQBSdVrqeC7yj5hBgD7P+i80oF4QgnxASD9i4XKq3BLWGI3dEQSPxAX3trj8oD yYv+2dLwJzacrFLXVi/NF5oC4hxnQ8s8K4o6HhdtzqDDiDGMXhXXy+OUhmog4zytav4j rfyHNc7t/7a/aBG0DwODJhrrs8o0SrL+5jm9oB3/73ehAdDQdsUI6kd1sLEENfDJg6Z8 tyeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=r0+snQP1OepvOAiKkI6VdpONCkQ1/Rgo1L2y7WjmwNk=; b=DrFMfXtawHUtk8dv1jstnCFT/pS86s9PKowbv/Y68EmoJJ71xjb46rkbcDKtV02RO7 kWc7mLp18NfcvhF7ZoCQ+RlSVYHlWCR46CLPhLgAzXuXXjU5Uerd+brdo0Dpep7UL48s AyfNIYSlF63fdciLGuMR84vK4PUq1uXIqE79XUWu9hlypnGFNwyzHTF3Guj7j6sr/0jx uX8KQMjPrD2Lsjv7gYibs6ewnLAs+o2h0/I+0tWtwuWdYmf44MhWqR92ZnbSWDVcGXrg 8ReZ1efbWgmgX9UJPPJaXf/7p9vYYT6lPSNSbI+IeL8yTKnsSbCf6AoZJMi+rBuvZjjH eTlg== X-Gm-Message-State: AOAM531onCRSl2mc1mlXkWpbanA3xJjZholKFGvNOe3zKCOL9HZvG8xd Xw97vtCmt0P/awXcapuDSCNLluU7gTpi56yjOCoK5g== X-Received: by 2002:aa7:d588:: with SMTP id r8mr15283394edq.88.1614589950563; Mon, 01 Mar 2021 01:12:30 -0800 (PST) MIME-Version: 1.0 References: <20210301090519.26192-1-johan@kernel.org> In-Reply-To: <20210301090519.26192-1-johan@kernel.org> From: Bartosz Golaszewski Date: Mon, 1 Mar 2021 10:12:19 +0100 Message-ID: Subject: Re: [PATCH v2 0/2] gpio: regression fixes To: Johan Hovold Cc: Linus Walleij , Greg Kroah-Hartman , Saravana Kannan , linux-gpio , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 1, 2021 at 10:05 AM Johan Hovold wrote: > > Here's a fix for a regression in 5.12 due to the new stub-driver hack, > and a fix for potential list corruption due to missing locking which has > been there since the introduction of the character-device interface in > 4.6. > > Johan > > Changes in v2 > - drop the corresponding drv_set_drvdata() which is no longer needed > after patch 1/2 > - add Saravanas's reviewed-by tag to patch 2/2 > > > Johan Hovold (2): > gpio: fix NULL-deref-on-deregistration regression > gpio: fix gpio-device list corruption > > drivers/gpio/gpiolib.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > -- > 2.26.2 > Patches applied, thanks! Bartosz