Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp167574lqp; Thu, 4 Apr 2024 09:37:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUpnCh2ciXFagSa+OSPYW5jAA9hbdY7HlbpTah706t7ovuizi0aH8pOxV9zmyPqzLrO25T2J5j9QFWsiwi1vc8DxzVVXGseIrOvRF0QDQ== X-Google-Smtp-Source: AGHT+IEkJdvjtjCrD/PKQXqd876gUyYsVx3oC/hTJ6ZEBNGJy1cgvzMRPzAkppQXD2ECOf4fitJe X-Received: by 2002:a17:906:f18a:b0:a51:97f3:663b with SMTP id gs10-20020a170906f18a00b00a5197f3663bmr149130ejb.35.1712248672092; Thu, 04 Apr 2024 09:37:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712248672; cv=pass; d=google.com; s=arc-20160816; b=kl6JKdj23OqqH231hdC1ArPV4wX05VfzTmZwxMPSFwSf+KL2xLqv3ZDK+saHSSEW2/ tr+PGEe35sdXXCD6BDzOdiX3yKv4nhFQqhd//+82PCqFI4uG9JKIiT+WTrmEedJb1ruy wcNuJlKmVAYoh/VgO0ilZLVdgRVMDKR+rmedf+PRkaiwxl2OS88VOJwdCsxELrsqXY8p IWKc7KunKeeUREOOlJOCPZqEUtIr5pFLLbNfEGjzZxUEC3bRtivfgmdExhb8APnSkc9c 9GAK38wNICImMvEGBRil2+82RoaSwpw1gp+WGHTOL6MXmxd7DBCEgglu/O/MTqQxV2MJ arkg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=DUbfvRaTdYI6FJXs+PUDsLKnWz2I5THsnSsWjhmBFSg=; fh=yuT5vuZuwsxx+AMmYypkKOiz/tW3HWPZCJI5Mocw4Uw=; b=kyZJBQPr8DWw9ZC83BSj8OhINcTqP71K0jvwE+wRGF7tqHhvS1FGRdlrlcqH4m7oOw cXwUIQziHGkpOHf8ktyEfeaECskbIN7V8cWQsH2Be3x+FfFUt0vtzVdFLqtJWZkQeNzR JHZ5KAaf+2pHl+CKfV2fAe+ufoUqPeLJjCMxGBBdyK7+8hilOe/ZhP+6+9CpSEsY1C9Q rXM8Q3Z4AgQVpEv0FIyTODP93pNS31MdTzSxq6AFXZkJVmiz7SvsS4DJhAFqGQvJKcHQ HjFoG4MC0Fzs+5PW5YEv7yHpgQ5vxOjvlmHpV6mfQ+8we/tDJ2EsaLsBff0GjPsqqp3p LB5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=CEQ+1Vah; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-131405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131405-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hq34-20020a1709073f2200b00a4e28c4f5d3si7659572ejc.888.2024.04.04.09.37.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 09:37:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=CEQ+1Vah; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-131405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131405-linux.lists.archive=gmail.com@vger.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3D14C1F24C46 for ; Thu, 4 Apr 2024 12:22:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E698812837B; Thu, 4 Apr 2024 12:20:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="CEQ+1Vah" Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B0A2127B40 for ; Thu, 4 Apr 2024 12:20:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712233235; cv=none; b=L3tt6wxck0bK0T5i1bJt4mYoJTEEOWOjHK1lZfUREdPVk+SpYJWb1FeK9xKCOfdyG8L9RU1IVp0qMyZgJjCxe1XqcGrs9V2pN7byPC+Iza1i7j+sVqezoxDIk6REXquT7EeRdHlYgwZhlwrEbrQNYL8yrxOKqcEXeIuKmx7DiR4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712233235; c=relaxed/simple; bh=H3f5IYJ1QWgMCxp8QqRnm74odB6YZNBaYMyZ5mE9B8E=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=vADGXZAe8hrdA/odoBvNrLBCcEfCQarFzaMiua9/v6eISl+b/bdxd87JGHFyXP5hyzDrRYhBmZ1328RjS/wcLUXUrSFR6Jxz2SkHiu1IBpqIpxaKeUmh2XtfDke36wGkjWnDMXUFDwTu/I7XV33sXzRcbBwtTKgIBe3p/Sw4/BQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=CEQ+1Vah; arc=none smtp.client-ip=209.85.167.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-516c97ddcc7so815218e87.0 for ; Thu, 04 Apr 2024 05:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1712233231; x=1712838031; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=DUbfvRaTdYI6FJXs+PUDsLKnWz2I5THsnSsWjhmBFSg=; b=CEQ+1VahHY1lnHONUcj2WZxOs6Qkp/iF0KkGR/SZ1mL2VsVRudtZAR8laVgyetoym0 uD4x4KSK59RSy8umCfC5v4WN4lqKep7557O3xU7+jsDSCMlgCNvAqjIGOsgEGh5o1jgT 7Hx1eBySF4pWlM/uClIfHE/7pz2sGTgc5cQoh1y7adb9/tg6e5vh8fgc3fgpLNpPLR3H YAR9V8qqF/33Kcs/P63IWE7bFNjbH+EV9PQw6NnJdLuv1s82+rDJhhJNfPP92enfetXa mSfcaw6Ar4jcFjcBfnt+JEijmLotomS2JCLUDF8KYwkyKhdrGp/jKan2j9lhOUd2La0v vXCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712233231; x=1712838031; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DUbfvRaTdYI6FJXs+PUDsLKnWz2I5THsnSsWjhmBFSg=; b=Wu1Zo7akw1FSlfNVRh8HV31cVvcMIon4uzvSkXIgu5PwiLu6w4OImBj9pstBXBF1m+ +IQfbH6tI3Mhr0Nip8l83Enb9ZU4LAKttZIiYEwJJeyUSYLBD6LXh1OKx+BzzXHL+T+6 2AmnS67kyW2Wo1YFV1jhh+fsX/yH/VxCLYgYSkXhx/2UXDkYyFQOe6ZPLOZdpDrPUz4i BWqqCzwyEL8lRUStVeXtd+V6JC5Bk8j5S+gLxEdhhvAkl4N5HVjBXUHg8lr5W77KHTfI uyVYaCRfqKzvEVBllP1Kt1KFGaKuhMF1uPDAoomwx+nxZ6PuAkC+9410jJ3vpOGqRKup dP8A== X-Gm-Message-State: AOJu0YxAJVEOG8vvptffg6qhXC9vabi7/byCvF6Pql50snq/xHhITsdP XEQEzBE+0vT1RpeYUWA+b5aSeWTU0O1I/C2pP9uFTP92blvXbxhnl1wIST7hPOA/aNbSXrNieD2 P3yMrmg5a8ZhscxavznHdyYmbjsckFR+ObVWZXA== X-Received: by 2002:a05:6512:60b:b0:515:d038:5548 with SMTP id b11-20020a056512060b00b00515d0385548mr1623137lfe.31.1712233231216; Thu, 04 Apr 2024 05:20:31 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240403131518.61392-1-warthog618@gmail.com> <20240403131518.61392-2-warthog618@gmail.com> <20240404105912.GA94230@rigel> In-Reply-To: <20240404105912.GA94230@rigel> From: Bartosz Golaszewski Date: Thu, 4 Apr 2024 14:20:20 +0200 Message-ID: Subject: Re: [PATCH 1/2] gpio: cdev: fix missed label sanitizing in debounce_setup() To: Kent Gibson Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Apr 4, 2024 at 12:59=E2=80=AFPM Kent Gibson = wrote: > > On Thu, Apr 04, 2024 at 10:20:29AM +0200, Bartosz Golaszewski wrote: > > > > Now that I look at the actual patch, I don't really like it. We > > introduce a bug just to fix it a commit later. Such things have been > > frowned upon in the past. > > > > Let me shuffle the code a bit, I'll try to make it a bit more correct. > > > > The debounce_setup() oversight bug is the more severe, so it makes more > sense to me to fix it first. But then I my preferred solution would be > to pull the original patch and submit a corrected patch that merges all > three, so no bugs, but I assume that isn't an option. > Nah, let's not needlessly rebase it. Most I can do is merge the two but they are really functionally separate so I'd keep it as is in v2. Bart