Received: by 2002:a19:651b:0:0:0:0:0 with SMTP id z27csp3625111lfb; Mon, 9 May 2022 00:15:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjO6vRSoRZ8BCpZPJbZbf6kmrQxGf5U8dcYva9d1ZmKunJmcJQ85PrrbITYoiX11TUst7E X-Received: by 2002:a17:902:c94d:b0:15e:9f59:9aa6 with SMTP id i13-20020a170902c94d00b0015e9f599aa6mr14608211pla.70.1652080554086; Mon, 09 May 2022 00:15:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652080554; cv=none; d=google.com; s=arc-20160816; b=DLsC4nSzEtvRooF3AiacjR7Wpmp8LQfCHJb/xEorq4VLjmxmht5SNu7oDAKVp1mpPQ /au7eqE89OetxZBRIL2gObDNnVY8Ug3rChnpnI1W3ZlADhqsds9JfNfyMwBaSfBExM+T pZhUs2waFreoZE2HEJpBtDbHYn9t8f/Gu++xREWV0yqF4DoD2T01ZDMeBJe04shdmOcv 9We4uh3kOL6hL4032eIK4sDHWzn+y5INxx/oAAEXX6Ql1geb40DKRAzPx6SIHm5eKdvT j1n7xiQWsGibbj0WLgYHlqjyP1Kk9V3NIb/m/WHyb94qvPe40gP0bMYdJgQ41FzU0z1h +OXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=1+n3yOIiQMdH3pwPGN6VUIE0zrbCIg+1+hBDuqhM9bQ=; b=njJaZIlfJk0D9vN4mFY+NjDaRK8jnjMJifc7H3pjlV7W30Ho6o75vQXR3PBTGtTl98 TwkpT7IBKEi+sZJ/zQfxxD0FqPm0QYeYVVb+V77SvvdkeKi9OSWIyTzD4PQlNt6g73tL 0CXUA6j7YqWx9UnL6x9s2xL/n/JMkjkPMmybQgfx6IvGac8veroGNyHdNAsfzgTSxGW2 ci8rNIdcGvVNU1GebaOKazkFOs9MmO/ysZuZh5dcGITWDxDicv49C183LoUrnG81Domv 9KDn0GiTyhnwo47EUz5QiP+Vr+rq+CHv2h8aPwlJGH8lzYA2hi89lBeAf48T5wbFqSZO 1KOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f3-20020a170902e98300b001582ce97029si9706582plb.122.2022.05.09.00.15.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 00:15:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0494213F60; Mon, 9 May 2022 00:11:38 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1444203AbiEFR24 (ORCPT + 69 others); Fri, 6 May 2022 13:28:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1444199AbiEFR2z (ORCPT ); Fri, 6 May 2022 13:28:55 -0400 Received: from vmicros1.altlinux.org (vmicros1.altlinux.org [194.107.17.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4EC4D6D944; Fri, 6 May 2022 10:25:11 -0700 (PDT) Received: from imap.altlinux.org (imap.altlinux.org [194.107.17.38]) by vmicros1.altlinux.org (Postfix) with ESMTP id 9923C72C8FA; Fri, 6 May 2022 20:25:10 +0300 (MSK) Received: from localhost (localhost.localdomain [127.0.0.1]) by imap.altlinux.org (Postfix) with ESMTP id 4885B4A46EE; Fri, 6 May 2022 20:25:10 +0300 (MSK) From: Gleb Fotengauer-Malinovskiy To: Johannes Berg , Kalle Valo , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Gleb Fotengauer-Malinovskiy , stable@vger.kernel.org Subject: [PATCH v2] rfkill: uapi: fix RFKILL_IOCTL_MAX_SIZE ioctl request definition Date: Fri, 6 May 2022 17:24:54 +0000 Message-Id: <20220506172454.120319-1-glebfm@altlinux.org> X-Mailer: git-send-email 2.33.3 In-Reply-To: <20220506171534.99509-1-glebfm@altlinux.org> References: <20220506171534.99509-1-glebfm@altlinux.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Fixes: 54f586a91532 ("rfkill: make new event layout opt-in") Cc: stable@vger.kernel.org # 5.11+ Signed-off-by: Gleb Fotengauer-Malinovskiy --- include/uapi/linux/rfkill.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/rfkill.h b/include/uapi/linux/rfkill.h index 283c5a7b3f2c..db6c8588c1d0 100644 --- a/include/uapi/linux/rfkill.h +++ b/include/uapi/linux/rfkill.h @@ -184,7 +184,7 @@ struct rfkill_event_ext { #define RFKILL_IOC_NOINPUT 1 #define RFKILL_IOCTL_NOINPUT _IO(RFKILL_IOC_MAGIC, RFKILL_IOC_NOINPUT) #define RFKILL_IOC_MAX_SIZE 2 -#define RFKILL_IOCTL_MAX_SIZE _IOW(RFKILL_IOC_MAGIC, RFKILL_IOC_EXT_SIZE, __u32) +#define RFKILL_IOCTL_MAX_SIZE _IOW(RFKILL_IOC_MAGIC, RFKILL_IOC_MAX_SIZE, __u32) /* and that's all userspace gets */ -- glebfm