From patchwork Wed Mar 20 12:59:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 781915 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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 A7F9640843 for ; Wed, 20 Mar 2024 12:59:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710939596; cv=none; b=tp//qb5aG7oWzI2AkLMUtq5omv6Uy16T6baKBiZh9q/8upT+t3uEV0rvyQoTl/Xv0Vn2Ntz6PbdRm9BL7KdjO1KfM/o7enhTX6bdGKmT0FM4oeJQDMX+rq5seiChxCjJ9R4N93GLHY3joX48017LsbrLtUiTpdPAehyGIxUboRw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710939596; c=relaxed/simple; bh=WypSOPYxZf8hLVFguCB+Z349olHSUiTKhbVrkkbcKio=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=G51L+Krh40ikavzh0uxaV6KJ1bIbo3PMW3CborqRkwNfazRxCLB5h2hwtf740UgoJP+u15bt7LSQpHaH9jUtKsNdO85JvouCylD0lOb/hu2a02BCJt9bCGOgx2MyMU+Xtztx4m+b1KnlvWtuftexL6mOL83g4d6wGG3/lEVOT+U= 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=OIuP++8w; arc=none smtp.client-ip=209.85.128.53 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 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="OIuP++8w" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-41467d697a2so10662465e9.1 for ; Wed, 20 Mar 2024 05:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1710939593; x=1711544393; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ydBKfYW6ZA8FirJ5fQQwt7gjzIdS6ifrf5l5yvc5ZqA=; b=OIuP++8wZ4sCALWiHC5ERsyFxwPrOEX6diekgkESTi12VlrRFs6ZjUzfMKvAjlFGh7 IQpF7Oa4DtnzDFvjB4c1zoStl7Me237Rgvyy6o3cAFu+kzOuRRwwocBU11/6xGEKnWYf BG2vLtPlZFq/1x1vUM7CUoE/oOKumwkt1QSBDSTnoQy3Lyr5ygnOmoiOXu3qMKKwZvzx Gp3upc7mGYAIlzUrKroy+YHoXMDytTs+3kdX6xZtZ/1Cm2meh/gxaIflFRaC4JaxiGwh 6yGOjG0qJLCgdMd6bM6rgLRHJo/KoiqiRSSEs0kNAag93+nza0uyzGXTPtZfHiQs3x0B FmKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710939593; x=1711544393; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ydBKfYW6ZA8FirJ5fQQwt7gjzIdS6ifrf5l5yvc5ZqA=; b=m6oEDkHmNL641nHZUMYTp3LAsUycgsci9mhtS252eqUIO02lXraHP9ZtH5Lt/gKerE pxxARYdqjntrJqd4HSV8C82DDs+/YPIsz61ugnUC5dAkf5cCFze1bJ/giyDvY7cfxAYt E/OBxknDgnLva+Em4DibtCLq+rjZgsGBjl0JaD8/ewLqDtpCUxNrAgU2+DpA6WMYMMHT fJMTvgqJzBf0q7s/IAXEiEEnAIH6jIZKqRE42m4mtp9W8y7A4NT4NHgvWv6SbwiXw9n3 bYdzLlTs86v9bBW0i94IxDASIvsBw8w8oAvaE4HOwdml8WsbwREbu8nbLlVGbnaKRdyz jMUQ== X-Gm-Message-State: AOJu0YxwQSvWzi+Y7bTFbBK7SxPgT2LMx7VSqiR0eeci3XokeBLpEqeY 0mC9HJT6PCvPJvIsDiGznPFu/NScJhNjSKBHxtiBx5hvs33T47vwnjLitVDc9As= X-Google-Smtp-Source: AGHT+IFRXMnhrNxcaSUJEnEEn0kFEye6RzrEeesX/kGIx1Evz1foV2hmWTK7tI2tTGmD48zp4D2g2A== X-Received: by 2002:a05:600c:4747:b0:414:6865:b5bc with SMTP id w7-20020a05600c474700b004146865b5bcmr2892959wmo.28.1710939592851; Wed, 20 Mar 2024 05:59:52 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:75a:e000:3d8d:58f9:2a48:529d]) by smtp.gmail.com with ESMTPSA id i6-20020a05600c354600b0041464451c81sm2135936wmq.20.2024.03.20.05.59.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 05:59:52 -0700 (PDT) From: Bartosz Golaszewski To: Kent Gibson , Linus Walleij Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Alexey Dobriyan , Bartosz Golaszewski , stable@vger.kernel.org, Stefan Wahren Subject: [PATCH] gpio: cdev: sanitize the label before requesting the interrupt Date: Wed, 20 Mar 2024 13:59:44 +0100 Message-Id: <20240320125945.16985-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Bartosz Golaszewski When an interrupt is requested, a procfs directory is created under "/proc/irq//