From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 035E1C433E9 for ; Fri, 26 Feb 2021 14:56:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B072964E20 for ; Fri, 26 Feb 2021 14:56:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230106AbhBZOzp (ORCPT ); Fri, 26 Feb 2021 09:55:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:52632 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229996AbhBZOzn (ORCPT ); Fri, 26 Feb 2021 09:55:43 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D60F664EDB; Fri, 26 Feb 2021 14:55:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614351303; bh=w9ir0e0TIjg6ykgGXU5YOusAn0SRJtGaS1FrxyZ1mPw=; h=From:To:Cc:Subject:Date:From; b=Hf0gcllL+xERrx5ymy3htPhW7wWanvYtm69ik67x2dE4CohkSYCjI3GG4tbnEkPVQ 7L5QNz2yWO7POKWDbnCJfY4PlYCQe5WAAPU3ZKjy1SbtpIqqA51bQ9SSvkFegPws29 WuTF2OkeJd9tcnHw4cbao9XR2YjtbLXwy5b+Xv614GUG5VE4z/r/C4KgIxVhvS7I+J YwAjgkm3JwJMmEjh+q+6c2RY9lVu3b0BwbKnRrBPOsolkGiBPN+WbWgajzrzCEiGuW xDNhnc8/B7ZoWE3YIQc6/qLAmta8avnzKfFtNncYJw98i9u1/C0UsY/xuggVfQhAdh prDGuNa1jB6PQ== Received: from johan by xi.lan with local (Exim 4.93.0.4) (envelope-from ) id 1lFeWY-0000Jz-JQ; Fri, 26 Feb 2021 15:55:23 +0100 From: Johan Hovold To: Linus Walleij , Bartosz Golaszewski Cc: Greg Kroah-Hartman , Saravana Kannan , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 0/2] gpio: regression fixes Date: Fri, 26 Feb 2021 15:52:44 +0100 Message-Id: <20210226145246.1171-1-johan@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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 Johan Hovold (2): gpio: fix NULL-deref-on-deregistration regression gpio: fix gpio-device list corruption drivers/gpio/gpiolib.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.26.2