Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3417900rdb; Wed, 27 Dec 2023 06:59:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IE9PPC3VHfkeytRWQd6RD0Kvm0IJpYn7xCbHfxIunr9Zc701PrllVtMsTXCmoxwxeOz9ye1 X-Received: by 2002:a05:6a20:7d9e:b0:18f:354f:58c2 with SMTP id v30-20020a056a207d9e00b0018f354f58c2mr10414824pzj.44.1703689174164; Wed, 27 Dec 2023 06:59:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703689174; cv=none; d=google.com; s=arc-20160816; b=qm/ICdMUjXOFaWjOFl/iyEu5a+u9EIg2Id75e8GN3pkgZKMgb5LXL4xBhMtjrFYy0T dAzooUyWzX9C7XvBSNuUxaKjp38mUzVC7mSJOXVHguSyLY3SuMaNw1xR6Tpze+cnfmUz t4ZiLkdo7NJn2hAGjTwUmvpHSLaDz6U0N6dWgR2SjDGROyT+js65I1ZOkES4HAnXR4ma KX6/eWr32/2vfEbKOtQQ8OzBs/dtwZ+xzV4WWK8Gz41XlOQ+0dcmiKt3lt/Oe0WAQIAO 2SuLtiw++cybi8iG3zIVY2ODBU1trDqy8ewo2HO16NuHFKyYU+PsR4T214EfXKvf75BC pJQQ== 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=kwySJh/J4PGlkxiWlBxpZNUY6nu3Z/pDgnojJZIqxMM=; fh=u8rLQsUjk/DQ68o09SM+wx8FxqDFcT3zeQdKot9Eyy4=; b=gjXPZxBuf76sLT535NHgtQlv10ExXJ4HAB6L+LyFQP/u5UJpmE2EVg2QaaeOxfwV85 BiLC0hxgZPAjNCNJs4UV2wJ+jqkwcwcpBsbu7aqxFRPN3N0fT1zICH8gFxT8NjEEm4X3 fvUc7MqctB2XBeA6/xbNP9Zup3A3iX9uQgngVoSnRP81jQSJW4zy1rv2kWFlMUyaDM/V zMfMmDp0yW6oGGU6588Elkk6+kf4tikJEH5R+oJgxnkOHs+l3b/WvMt0HCw0djt8F5Ig ycDwtiyyd5ztcrRMNDHQQfHcXkNrpOnxPnoEdi4BvA6l9JexwhJinvjrR8rpiD0fNAG9 QDTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=cg2mbWk2; spf=pass (google.com: domain of linux-kernel+bounces-12072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12072-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y5-20020a636405000000b005ce04743538si7194105pgb.570.2023.12.27.06.59.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 06:59:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=cg2mbWk2; spf=pass (google.com: domain of linux-kernel+bounces-12072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12072-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7C903282B4C for ; Wed, 27 Dec 2023 14:59:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A8C445959; Wed, 27 Dec 2023 14:59:26 +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="cg2mbWk2" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ua1-f45.google.com (mail-ua1-f45.google.com [209.85.222.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 873C845945 for ; Wed, 27 Dec 2023 14:59:24 +0000 (UTC) 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-ua1-f45.google.com with SMTP id a1e0cc1a2514c-7cc6c88fb12so1981524241.0 for ; Wed, 27 Dec 2023 06:59:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1703689163; x=1704293963; 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=kwySJh/J4PGlkxiWlBxpZNUY6nu3Z/pDgnojJZIqxMM=; b=cg2mbWk240AAdxIpvAE9wQLiSlh5+1uyU1TmSGbkb5t9LLbBBn+uOUOhdMGYUGLqfs 9gwJ4BvWhHkI4mPnFO3E8as7/SbSPYfli6Osz4a0kqMBJYz8AQFX6dGy36ARrgz0bk+8 90rtfDxd7j9DQZn76biI2jAAzqY4kokmm8oz3p6isc89eoI4xJGz/igR+9E+BdNlkVKY WMkMepJW3CaQSJxOC13/y2fSAgKXzOdXhZUPYRbfAImHMiAAfEXjbxbRtw2cBNGIoTr/ ThQggN7LoUh0AGX/rtHmezGJNciqhB6ADMENAwvhWFNBUS8TYHWXNccB7hj0FAfYUEbv 5dXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703689163; x=1704293963; 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=kwySJh/J4PGlkxiWlBxpZNUY6nu3Z/pDgnojJZIqxMM=; b=hN0Wf8QZYj6QLJu63TQoYl8kQNQ2WfXderoA55dZxClL6cmlS2i3ZJKqg6nO6aOtyP Q/jVJ5vb61wswCZ7a+G8FwR7UdUQn6GIp96ZFK8RRKa7eau4Yjo45vL4I2yfmHscLtQl 4rCeEuMA1rp5OUbzZoXSnhUgSJcpa8Dx8BfGL185ROdBp/44g4ll3Pk/z1rr3+EaQ8/5 No9VkxF72DPCPMJL2o6G2Vn40TmJHV2AAlYqwlhecHIBqGVgDheYMzfxUz1N3IpRqNcq FydzWLDoltlOy0H/RUI/bHSi6l9cyhJoP5qtkXFsyIKYNfYtCUr5ypdk9/eXB6IZwtl/ L4Pg== X-Gm-Message-State: AOJu0YwZFUKq2JUtlYp+GfnJXo7lVlPW54jxgq/PKgdPVKpFc+IM3OR6 WapT/Rwpx0fGU2cC3V5t6TRU4nHOboyvcoaED+bR80ELAa9eMg== X-Received: by 2002:a05:6122:3222:b0:4b7:1f17:55f0 with SMTP id ci34-20020a056122322200b004b71f1755f0mr4866948vkb.17.1703689163542; Wed, 27 Dec 2023 06:59:23 -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: <20231219201102.41639-1-brgl@bgdev.pl> From: Bartosz Golaszewski Date: Wed, 27 Dec 2023 15:59:12 +0100 Message-ID: Subject: Re: [RFC PATCH] gpiolib: remove extra_checks To: Linus Walleij , Andy Shevchenko , Kent Gibson Cc: 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 Tue, Dec 19, 2023 at 9:11=E2=80=AFPM 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. The > overhead of removing it should be minimal (we already use pure > might_sleep() in the code anyway) so drop it. > > Signed-off-by: Bartosz Golaszewski > --- Patch applied. Bart