Received: by 2002:a05:7208:70d5:b0:7f:5597:fa5c with SMTP id q21csp897018rba; Thu, 21 Mar 2024 18:33:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWczL5PwDtldHYVGPrpVsc1odvbwnqQ2EE0DUeZwMFXygfSPx9eaZbsher9YCesYjsiJ1zTYnW/KQhgxxRQg2ee4Hp3Yhk/XNgw9SudTg== X-Google-Smtp-Source: AGHT+IHumnCWy2etMzhws2adGad7vZbdo+IWqbsz/g3ml5dUcqWvL3cYSjGGKErt2fq9dYIWeJ6C X-Received: by 2002:a05:622a:13ca:b0:431:1d9c:b9ad with SMTP id p10-20020a05622a13ca00b004311d9cb9admr948501qtk.62.1711071212944; Thu, 21 Mar 2024 18:33:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711071212; cv=pass; d=google.com; s=arc-20160816; b=wRYg0xvxFr3ZzdpISPrDeB00gB7WcGV10yLOlqNer/9qPZ0i3bK7m+MJxXXlHxXKHQ YyQgcNzFhviU43AOr5kdBBAUROp0IyEoeQGHinLpW1yiPL5F/fxzC+ASBuWRO4yTJymw i7bHor9gQ5XtVPTRjYYoMa5NZEh+9NJGsh+MmzvRRZ91uZSNIRSOBEE2pFFAfwHGBj2g ppP/G/yQAqlDdggR+heyeAk1jXhxHjZdaH6vPsSy5uVVMFJzdOfgJIdnnNG//R6KoGQD eiOjVrnBe0ex2NDOh0wroeHZTBg0hSs6dRyxnXth4ifs3Z/FkwVCYC9zbfTQgSM+R9Em +KEg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XzHinso5/JUUGnSlekarpcGaX3E/1CBp5+bzHJh1IoM=; fh=wOTgGJ+FIpimLttlvh8SNy0zgBsHpV5bHqKreSY4MK0=; b=Qhi+k6Ez/hB75xe2FszdGk0xbySKvic48A8VStQRMwzoHToU+MaAHBUR2PgeH99yB6 3dN7e3yNGkdx9BlnOMMiZNE40NC/q7szWhKY2LGayi6sdWrQGE9oxmwEz3pUD2r8l7av otPBKsLGXRZkmkXCNC5Rj62CildzVhykHvvNMa5qzBgXD9lweYwwGUhejEWMzIgNmcEn PiTHBoOf5nkDiuimngrdgKNvTTEodoO2aKRT0KkjyVHtFMHYXvJaxQxV6iznrW0Xjk/f StvD+/p7ld1Cv5tsSFXKWfvI+xdLTzViV6gdk/PxUNTEnIQHX7g7j5CAzXXQIGsbq1pJ rSyw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=E8k7JGDN; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-110858-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110858-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a5-20020ac85b85000000b00430d474a3f0si1018967qta.32.2024.03.21.18.33.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 18:33:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110858-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=@gmail.com header.s=20230601 header.b=E8k7JGDN; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-110858-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110858-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 A0AF31C22A8D for ; Fri, 22 Mar 2024 01:33:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B0D246FAE; Fri, 22 Mar 2024 01:30:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="E8k7JGDN" Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) (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 3C4BB79CC; Fri, 22 Mar 2024 01:30:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711071043; cv=none; b=FgRvHaUqLOW8PFiYIP7/dtdPXr6yf0LrUz577UQ/PIKh77wXDNh/LvtMWdBzHwt4hurs9MAOycE9yTewXKvFvEGW0BTgQxLOyxFSK1YRHJ4iUmB6VQK+HDNf+hX0Lso0rak8OaAmksMBIHzJGZfXlBPJJR8sGu+m0SItRelVvfY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711071043; c=relaxed/simple; bh=L4H2OIzcFi/Upeqi8RJMwIMMLktMyEWStGT9y+AnqxU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ldhUEmGS6xCRPwugu6Ud20T8uE1Lnkn44ViToOr06SaYu+/Y4yTiBCCqUyfJy52Mv/IvfPUmY+P4EemD7EtNRV3EzXhlU78klnHSVw/8IkWbTxyoiwMznbq+iD5AeA4BTJBJGof3HUMQSwGzD51v2YKqAWfjnOiZ0TUPDNdy3ls= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=E8k7JGDN; arc=none smtp.client-ip=209.85.216.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-29fbe140c24so1168258a91.0; Thu, 21 Mar 2024 18:30:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711071041; x=1711675841; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=XzHinso5/JUUGnSlekarpcGaX3E/1CBp5+bzHJh1IoM=; b=E8k7JGDNCv+G9NHAO5uJH3Od/qRRk8ysPX/kGoViKnhEM7Mn/GBEbqzkSOdi4ZxIaC dlA0S8ZljA3iOLZs1F9pPHVAsZQRh03W1ZjKxUi3T19aO+lKyk2SUuR8AGaYOV9LLYbV J5YQ9Z9idg3IBiB7DrwH2gfGTsbuL2N3Sh/xO+Rf/fZvkTEJY4sEySvPFWGtcf4IGXEh 0gaU19yTz0b//Jx9KNah3ZxtQ1FKAv/elnnK6uSMupf1cyh36vFAGt4VLd1FcXSvPXn4 RW/g5wZE4Ym/XRWtvlgBfS1LhgHuC87ZrvBil2bNlS5YAPoP/W9fv104Swb1d9/uhr9u XkWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711071041; x=1711675841; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=XzHinso5/JUUGnSlekarpcGaX3E/1CBp5+bzHJh1IoM=; b=xOGFcd6YfLz5zLs7n4DlnIff93waV0XvTMuxJFo5DhQQFbPceBF8brurYC6poQPg3X YlpZazJV2dpRfxeFZb87rk5pun18eLI7pXC+/gt9OmfxKm4BK9byUROwHiPb6fKJqFmv wkbDK7TgYftGo63LdWfvXJKuri83aFKH6gPl6kwNpiSUqwBzu7zqGqO1L91W1rogvK3y UYO90UTfk4gVs3WbZZKMNn7vz+YRLASu3T6fbcK0vhi8OmFbKWOlNYw4jiIW5jO4n6tL AW2PBENRyZFjkFFzz5nfrp0dgcYJdJTDzXBkw8XEEM8V+kj5TOjJJvSbZXKZp1Y+4Ehd xtBw== X-Forwarded-Encrypted: i=1; AJvYcCU/R/h/R7g3D3nOYxaa8HoD/6CMrXyFUI8ODU3h0Ue7JuYzg9RuM/mYbtFy6dW1w72482kmJk+UB3jPQhgEbyn/y4C/Y4V5T1b2bK+uiMhEDFBRWAjy4BUXIVVr91ewyTpHPbM8bIKDNJVwOFNbK3/+GiGs7HU98Ov3/W3vC2rOLA== X-Gm-Message-State: AOJu0YzWoRptpQb860ftJaN7RwLJhXL+UCXjTy0yaA7f0B67XoIxZQ+/ d7Mh5PQWU8GJGYKACpjKQG8civHr363lC9u7nK1qwboP+L4VsPsr X-Received: by 2002:a17:90a:4412:b0:29c:7a27:8e39 with SMTP id s18-20020a17090a441200b0029c7a278e39mr948329pjg.33.1711071041314; Thu, 21 Mar 2024 18:30:41 -0700 (PDT) Received: from rigel (110-175-159-48.tpgi.com.au. [110.175.159.48]) by smtp.gmail.com with ESMTPSA id n31-20020a17090a5aa200b002a02f8d350fsm671308pji.53.2024.03.21.18.30.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 18:30:40 -0700 (PDT) Date: Fri, 22 Mar 2024 09:30:34 +0800 From: Kent Gibson To: Bartosz Golaszewski Cc: Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Alexey Dobriyan , Bartosz Golaszewski , stable@vger.kernel.org, Stefan Wahren Subject: Re: [PATCH] gpio: cdev: sanitize the label before requesting the interrupt Message-ID: <20240322013034.GA4572@rigel> References: <20240320125945.16985-1-brgl@bgdev.pl> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240320125945.16985-1-brgl@bgdev.pl> On Wed, Mar 20, 2024 at 01:59:44PM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > When an interrupt is requested, a procfs directory is created under > "/proc/irq//