Received: by 2002:a05:7412:d024:b0:f9:90c9:de9f with SMTP id bd36csp108938rdb; Wed, 20 Dec 2023 07:30:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IHsr7p5Qhk/9fUxac1gzbpowTMryW7lZ3z+zs6WZhtXmMfNHbZxTjU0Ew/FAd6Rso6CGv52 X-Received: by 2002:a05:6214:20cb:b0:67f:288c:81ba with SMTP id 11-20020a05621420cb00b0067f288c81bamr8848413qve.103.1703086220124; Wed, 20 Dec 2023 07:30:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703086220; cv=none; d=google.com; s=arc-20160816; b=cJd+gP37/5wG4xBSo00aCNMmI5OQAZNs4546ycfqwuYTm6V81nifHPiliHjIcQ9fw+ /lBDXXU1UzdFcsnpwVhWsCnMxrp2ZhDPasZ0w8bXRIGOMjEszWb5hmpNuQW5hJs8brry smPyBZR5pzYaxK6rRyJ3SJTsGiRdmW+6I8yB0lBEImIBujnLBtFc95rdz5IA0RZPGy+o 5bK1gKjeFKHJz0uCk8R/edOpcv+mtDY0pexBPlrvu5vDvbfOr9P1/kkUV/a0DDN/CUU1 7OiQ0NRZnMxt0zM8+vxu9Xs9Z9uDvx0NebqNvKk/+HEZ03kcNEzBBKGxpL3EK5NYzQ2l 1fww== ARC-Message-Signature: i=1; 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=g7gRsnGK/98vqBcsCXhR92alkXxNhTCIZpp/DaIxwxU=; fh=+9mccj+TNe9uDKOLZWHh+z/GDMjDz4uv9ExH0YycZfI=; b=0/jleJ/pel4fzbaFKOzBsp5elu7i8ZpqrhiBWZNuxruCjdR5jqlhyxnaiuqAJLsk2A DwMNV4U/6mvNy5S0Lzk+vW/0q/41WEZEIGj0bfINFV1W2pJaKU0I7dcWLWkPoAeXjN+w MdnTgR7ykLxytjU9q2GW1ElB3EOJBJIGSO3EgRVJZEw96fLqLcGhgna4NMor1UFOvU1D emTHX4GaZAqqI8sAWA+GNPKRxCe6zwxKelvNKQ9m7nfluBT+J8HRf7ghR3BONQFM/fAI B/lQkcZCLUcgeECLOomJClnH1Br8vZYmAN9KjDdvZVF00pyavYFzlzSo0N/XjF/jsvAM nNPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="W03/Qc6D"; spf=pass (google.com: domain of linux-kernel+bounces-7164-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7164-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s9-20020a0cb309000000b0067f229f0b7bsi10992170qve.406.2023.12.20.07.30.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 07:30:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7164-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=pass header.i=@linaro.org header.s=google header.b="W03/Qc6D"; spf=pass (google.com: domain of linux-kernel+bounces-7164-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7164-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 D165A1C23159 for ; Wed, 20 Dec 2023 15:30:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 99F143FE43; Wed, 20 Dec 2023 15:28:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="W03/Qc6D" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yb1-f180.google.com (mail-yb1-f180.google.com [209.85.219.180]) (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 618B047F5F for ; Wed, 20 Dec 2023 15:28:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f180.google.com with SMTP id 3f1490d57ef6-d9b9adaf291so3222679276.1 for ; Wed, 20 Dec 2023 07:28:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703086092; x=1703690892; 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=g7gRsnGK/98vqBcsCXhR92alkXxNhTCIZpp/DaIxwxU=; b=W03/Qc6DiZ9M5AEqYCbf56BpRCY1qPSlkNH2IkrU2lC6zhIxQ3rHitPnk351jdBwp5 zIz+FgtEM6Zt4HBwgGL2nT5dKWTdBS4ggVZp1RliG3Nplnb3s4LOc3+9jOST4cpiLDQB qSWQR1LmkSOvrJ973LuL22xik2cD9IroSPT199BhFBdotNP7ZfGdhRBprAK3herbLy62 ZJe+utp/qyB3ReQkSOT5gV6D0uHd8cJLMfgCNY7TdcwQXvrTos62VnAl6eXYMPTJ0cju HW7w8pCkC8Hmp6m3rsV5MVqlyA/wuR8wUD6Q0OEnBd1s6VZ9H/a0f7G/McNQA0Ub+weg LMNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703086092; x=1703690892; 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=g7gRsnGK/98vqBcsCXhR92alkXxNhTCIZpp/DaIxwxU=; b=nNjotn1Mhe1B1fUeOdBy3Nlga4Qk3wMg6iSf041Q8ncB0Bwtqo29FGe+Hx9ISo/gUH /c/grg4mRPqgOiWkgQovi7o7ErBITjfTRKiyo2veXWA8znD3M86gNSEDWCnO0rGab61c MI9IJXi9xsMdG5IrADOrmkhr07PBe8DFOGgOPnvPhO3Z7NtPjwVHQzo6y5/EzItLNRbs mz722Y6ih5j3bvlZB24aZWfwuauUMNiH/Oi4mz+YjHlWxpj/w/5CgYoBQOBGcUCTQ3H7 3Iyb149kPRRqQ8cmfoErmmPIj24xSOuehWC6BX7035qgUYkOWeVmmEPuCiOz8Bv1b+IS a6/A== X-Gm-Message-State: AOJu0YwqedjeCI/um/gVK4dSr0G6UHxX7ER1tJVvbk96/BeoPnJLp1ib NjqUZeDFYHkEpeCT5wjJ/Izyi3AHyDJnq5UyzNoRcA== X-Received: by 2002:a25:ae1f:0:b0:dbc:d6ad:616c with SMTP id a31-20020a25ae1f000000b00dbcd6ad616cmr5779335ybj.24.1703086092356; Wed, 20 Dec 2023 07:28:12 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231219201102.41639-1-brgl@bgdev.pl> In-Reply-To: From: Linus Walleij Date: Wed, 20 Dec 2023 16:28:00 +0100 Message-ID: Subject: Re: [RFC PATCH] gpiolib: remove extra_checks To: Andy Shevchenko Cc: Bartosz Golaszewski , Kent Gibson , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Dec 20, 2023 at 3:03=E2=80=AFPM Andy Shevchenko wrote: > On Tue, Dec 19, 2023 at 09:11:02PM +0100, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > extra_checks is only used in a few places. It also depends on > > > a non-standard DEBUG define one needs to add to the source file. > > Huh?! > > What then CONFIG_DEBUG_GPIO is about? Yeah that is some helper DBrownell added because like me he could never figure out how to pass -DDEBUG to a single file on the command line and besides gpiolib is several files. I added the same to pinctrl to get core debug messages. I guess Bartosz means extra_checks is =3D=3D a non-standard DEBUG define. Yours, Linus Walleij