Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4655325iob; Sun, 8 May 2022 20:48:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfIqTzRUocqf66O7/bwqCmEuY5pMEpcmx12ZtfB28o//pdempUr35fSrGja70pJQqJKye9 X-Received: by 2002:a17:90b:1bc4:b0:1dc:2133:2e01 with SMTP id oa4-20020a17090b1bc400b001dc21332e01mr16276328pjb.221.1652068102528; Sun, 08 May 2022 20:48:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652068102; cv=none; d=google.com; s=arc-20160816; b=GWKCrA/HUB+mMn5digGadK5I9KiTle8ldhnu9ZAVq9Wqku1laCQtP+001NI00hoKJk AQIRUUHse24sR/jo72MLgfydCETKePECxGXop2ThtvGhLq80VNUDmXZcg2s+pUC/4i// lCTJvHh84ZNNLzf6sCIt/pSdacYioqnfO4WedywCJc+RjXZ41bN1PTXRueH+5ewr1jiG wPQdunom8ZK2sZzJSEOrRxMPdv1wQxBYXmC7u5w8IzIW3Bx8/2h6t4FhPp18/qI8P85k bceYsTKIU83BqtsliBq9bGMhwyKJTqJnCUX00DXerH9ZFUItcKx76oflEgsOLx/QtQUb Ng7g== 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 :message-id:date:subject:cc:to:from; bh=higzTEvSmeqH66i4GNjMyri3CFW7qSs77RTzrjpQ57g=; b=D9YxfFz8WlDM4N8fjpoF1CxnjKPSOoTHxtk7zzg/h/3fso4h+yEoc13QVhLJyOZfrU 4x8n+IrphtIbW46p9WrjzYEZynaOMZnnarSjOLrmIJQgfilbq1jnxJ1Un8Nu/WTO0H3U aK/FZSxKwQJ/ysHslt43AzQCYy/AmUFH4p6Wv7m9zH7bcoG5vuZ+FdcqDCOXaEaYfNUl Fsi7BUXiZfTKIfSKtqS5xjMtiPT4a9fOz0L3X/GTyzZJpW465SDRkRzDGnjTWXXETEkQ 8rk3MhGXugYsIacdBc1vr+8wAENgMioaj3FNGsW0WxNpm/JBLKKV4B6W22un+Xfy8Tbz NNuw== 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 k11-20020a170902d58b00b00158da869427si10138478plh.176.2022.05.08.20.48.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 20:48:22 -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 AF573D6E; Sun, 8 May 2022 20:45:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1444132AbiEFRTn (ORCPT + 69 others); Fri, 6 May 2022 13:19:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352563AbiEFRTm (ORCPT ); Fri, 6 May 2022 13:19:42 -0400 Received: from vmicros1.altlinux.org (vmicros1.altlinux.org [194.107.17.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E84D84F465; Fri, 6 May 2022 10:15:58 -0700 (PDT) Received: from imap.altlinux.org (imap.altlinux.org [194.107.17.38]) by vmicros1.altlinux.org (Postfix) with ESMTP id 6016C72C8FA; Fri, 6 May 2022 20:15:57 +0300 (MSK) Received: from localhost (localhost.localdomain [127.0.0.1]) by imap.altlinux.org (Postfix) with ESMTP id F294E4A46EE; Fri, 6 May 2022 20:15:56 +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 Subject: [PATCH] rfkill: uapi: fix RFKILL_IOCTL_MAX_SIZE ioctl request definition Date: Fri, 6 May 2022 17:15:34 +0000 Message-Id: <20220506171534.99509-1-glebfm@altlinux.org> X-Mailer: git-send-email 2.33.3 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") --- 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