Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1496167lqt; Wed, 20 Mar 2024 06:02:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVyPOf89d+1Z7VeG/r2yV4vAeGRCX4tz1Gn86g2lRWsztEINfy1rDm9iprrMhpi31s8yve9/DfXixggzk+EzniiXIFO8WnVSAv8WVTx4g== X-Google-Smtp-Source: AGHT+IEhc/3XzUoSI0c5Oz3l8mZUOxbo9e5iIP76ztWq81ZwAP1NCvKnYMGkBR7n7UUZ9qzHsrCC X-Received: by 2002:a05:6a00:1490:b0:6e6:6a80:aced with SMTP id v16-20020a056a00149000b006e66a80acedmr2097430pfu.32.1710939761850; Wed, 20 Mar 2024 06:02:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710939761; cv=pass; d=google.com; s=arc-20160816; b=URK8cycST0k8EjqHxQ3nEN7lZR96mM4zsMY2Du/F0eHfNykksTdWbTvgavN02V7vxk 4/6NiE4ATzDlX6KPiBMWWOx1DEDtM2KsWz111HnjbAS4aqo34u5kQVyt3qEvq4/wPClQ UuicDhoGLqsyPHFx90MIyx9nyIbE5N7IMU9S5CxmzfyQx4p/Ct1+MyZxHq63Z0TOOaB1 4CbWut7t3fr/kfrqhYT6x0KbPlY9SJYODdWZDXBl6JEAG1Yfrk3EMur8Ap4OPd6f9caN zpCryzo32Kp7CgQ7QMYDyqSDWXkkbzPCXYMJfUE1K2yhHJYI7NLf5aDzoAFRoewO3zIX VM4w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=ydBKfYW6ZA8FirJ5fQQwt7gjzIdS6ifrf5l5yvc5ZqA=; fh=uLuWjMw+/VO+QiEkNHAcXc3sxH445Aj5C0xcfIovCuc=; b=HHaeTF22uUMhRRCUEDceyjowfNcCV/RDVWg1V0gnWuZXNWdgMR0Hh1ual2UXLlFXPp lOYI4Oo4OkkiwAFSu/rK2XDbJOkoH4U+eWnMJ8NgdKnzDP8d/FwycuoRCa5yuZCqGu40 pGxf0778WGM0wvNN/+os7smDSULDnH60TqIcYpypTiSw9zfdrYRiHlI1p/LqHohu4sBY pSmUHSOfET0jjs3r28qaN4L8OxlAf8o06PqHfnURUDFRQ+S0gV9DIp4lPmoARRPHOVU0 ttovW6CptC+EnOJ0veg3qWi1UJkv518sGf7fUJiTj3JvRPBpq3r5+Hy8n3eOZPRuIKhl FBjQ==; 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=OIuP++8w; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-108924-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108924-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id bq3-20020a056a02044300b005be09b723b7si13611692pgb.636.2024.03.20.06.02.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 06:02:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108924-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=OIuP++8w; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-108924-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108924-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2D8FFB21CEE for ; Wed, 20 Mar 2024 13:00:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E526A40BEB; Wed, 20 Mar 2024 12:59:57 +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="OIuP++8w" Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 996013FE48 for ; Wed, 20 Mar 2024 12:59:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710939597; cv=none; b=EidSl1v9HhTBXZxrlo0wktZT6kFcQ+w7KVLGoX+qWMeSTtyyctzrkDWzavnSxqiXpRrjvbKVakE7r1LL3ES9oDdvQwP4dlbu9OawdJAIyJR4cvyzE9XAz1NTv+C48FLzMxkfnnE/ZHbLK6vBQlVPERlnPDdIL5zDGxItI/6zVzE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710939597; c=relaxed/simple; bh=WypSOPYxZf8hLVFguCB+Z349olHSUiTKhbVrkkbcKio=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=P6hgu4iCVwqsEk0O6745TMZUsJvqbUi7DG5Utu/l2tTvdnPtROqzSa1Q+k0ba8JoKNoq7w6uPsng7DNstILmiEtQeuTxVuF2sDym9NGGqKB2DT21f1YmU90Oup8S7e3pjAVSq/L6/Df04bZT0wb50p5p7jvMwEcXrYbvt+GheHw= 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.49 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-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4146af3ebc8so5209585e9.2 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=jqnIOpMSSZ1WOVSwjh4pFxJrw2QpurH7fBipmIf5VNhQJf2g2zZ2i7XoRMQcAyFv0/ HAqxTa0M1kyngnx2OH915kzf0+1WVQJ9rv/tzO3ecwF3XF2X+EV5ChMKzH95Ah4bCilT kjmqJPLO56up+mqkvxDTFAZ4tmfqzB535+roV4691GblTo3qvIf4ceISjf9PjMIuIyUB vIrPgTJ9vRYD2Y4rLCCqNoGUpLZh4Oo5RfNR3HW9jMqnfoxuQxn4lqvfj6mWPDTcI3yx fkEZyyqysaDbP4uPC+ztaDGPg5o7fbp2fJZXyt24bdFtr+WPFiWWCZg71uIjpi7nmzCd 7DGA== X-Forwarded-Encrypted: i=1; AJvYcCUqKHqn0+Nvowo0UFenIYTWF3Q5NUsUVDfOPtpTfaHR39scb3fEImritNKOkfwZxzmsd4V4jNZfzIP+tM++qdAoBRQl+Al4h4ZmwjSF X-Gm-Message-State: AOJu0YyKI3A7VKH1A46xsr/+wqSMNOmcb686RPNUH26fsmmg01KP7mC6 JQgpnRYEyV1yZUr5PSi7SOePU9P7FR/pTegjnzjK8/IueVXQklVWOqT0flCR94M= 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-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Bartosz Golaszewski When an interrupt is requested, a procfs directory is created under "/proc/irq//