Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3285988ybb; Tue, 31 Mar 2020 02:06:54 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvsYtH79GhKfbmtbaCxrL2TQxLscILnTiR4rdu1zc/rdBDyZKxe7qfq116+K6iE+WCdCuJZ X-Received: by 2002:aca:7213:: with SMTP id p19mr1340709oic.44.1585645614737; Tue, 31 Mar 2020 02:06:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585645614; cv=none; d=google.com; s=arc-20160816; b=w+v8EnWRmPfVokgWWGbnbUb2ItnPoRMs/WSnvCo7Ff952Eo4jvmpAe0BzLQs4DI+BI JH4RWTF5uGsI79wI47+tL3yNQO784kkLhwZmDAyFY77zNFkCpAHyUyVaoR4vowP+X85K qD9mudDIlaTKXUBUa6pEyQPN7cMTLXJ5qQgmg65J5Pd4OjrH6xalEjO9qfEEtPIElVa6 ciJztLeWHZaFJHlmJC8ywwbQwL/rkBlF7gTfszAq9rimatt0ZTQc5lPz9ICsmU6wqnlN mubYV6eooat78V5u1hayH48eMI2EFZZWuWftVDbwoFbTKMQsrWl6t+IZSURrnW+6H+Zw NwAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=hHqwkwxWkZmhIEgvpQihOiEYgCRxajH+wiIAwW4ABNs=; b=Z72embyR7+ok+Ri4QhgK8T+tqTwO6o3pRrIyu7dunBxA40n9rQJdfpPZKTGChbl0Rd UmF0H0petoTcMOSyY94JVFC9NqNB3fEvUBjWfrADsZhM6sxz9j1+eSSPvazgDoBdBR0W Kdvwyzofz+Tb26rEmpUK63GjXV7H8gnsKDQ5bWD0eRGYZESfZpTIAecQbOtlUQwvEuJy VjBda7Q9hp+nNf4k80r+T3pLGIggeNO/ulbR+p6W4fH2qMgbxTpQ5y61cHpOgCIYPvtV VimemnO9sTxQAbbuF22u0JCPsa4m6pXORquYRLYqxBRO4npDx92quPZ/Fy96lLWECM05 qkgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0RGjjvGr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1si7711883oti.70.2020.03.31.02.06.42; Tue, 31 Mar 2020 02:06:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0RGjjvGr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730918AbgCaJFm (ORCPT + 99 others); Tue, 31 Mar 2020 05:05:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:46810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730541AbgCaJFk (ORCPT ); Tue, 31 Mar 2020 05:05:40 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2E35E20B1F; Tue, 31 Mar 2020 09:05:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585645539; bh=P7eaBlYz4GzVkyvhowH9g6w/cqbHD7kEmXW8Sh3FLOs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0RGjjvGrKqah8X/YblHRxr+bpBJcl+F687rsjGhJUTwsee/hfdaG8cwJGtCadSM/7 kWL8QdUkulOYDPWI4vJluWj0BSlsInopwG3oAwWd7UoDkR9qBrKYAg5d6B/BkwhnBD ebwtGFFt0pUDsxqBlb4ZL2DrmkmuWY93AsGJzhAE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Eugene Syromiatnikov , Dmitry Torokhov Subject: [PATCH 5.5 085/170] Input: avoid BIT() macro usage in the serio.h UAPI header Date: Tue, 31 Mar 2020 10:58:19 +0200 Message-Id: <20200331085433.312691286@linuxfoundation.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200331085423.990189598@linuxfoundation.org> References: <20200331085423.990189598@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Eugene Syromiatnikov commit 52afa505a03d914081f40cb869a3248567a57573 upstream. The commit 19ba1eb15a2a ("Input: psmouse - add a custom serio protocol to send extra information") introduced usage of the BIT() macro for SERIO_* flags; this macro is not provided in UAPI headers. Replace if with similarly defined _BITUL() macro defined in . Fixes: 19ba1eb15a2a ("Input: psmouse - add a custom serio protocol to send extra information") Signed-off-by: Eugene Syromiatnikov Cc: # v5.0+ Link: https://lore.kernel.org/r/20200324041341.GA32335@asgard.redhat.com Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- include/uapi/linux/serio.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- a/include/uapi/linux/serio.h +++ b/include/uapi/linux/serio.h @@ -9,7 +9,7 @@ #ifndef _UAPI_SERIO_H #define _UAPI_SERIO_H - +#include #include #define SPIOCSTYPE _IOW('q', 0x01, unsigned long) @@ -18,10 +18,10 @@ /* * bit masks for use in "interrupt" flags (3rd argument) */ -#define SERIO_TIMEOUT BIT(0) -#define SERIO_PARITY BIT(1) -#define SERIO_FRAME BIT(2) -#define SERIO_OOB_DATA BIT(3) +#define SERIO_TIMEOUT _BITUL(0) +#define SERIO_PARITY _BITUL(1) +#define SERIO_FRAME _BITUL(2) +#define SERIO_OOB_DATA _BITUL(3) /* * Serio types