Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4232697ybb; Tue, 7 Apr 2020 03:29:41 -0700 (PDT) X-Google-Smtp-Source: APiQypLu1c4C2bwrdJ2d1UdL5mo5iD1lVtZ0sWCpCcM/4wBLNjgZRMc+PKSlEOyWisHRZa2GsU9V X-Received: by 2002:a9d:7cd5:: with SMTP id r21mr981161otn.346.1586255381152; Tue, 07 Apr 2020 03:29:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586255381; cv=none; d=google.com; s=arc-20160816; b=gUEshDBRBrW2ihhzesUvlKp6p5zoLMte5kTT4qIsa277PtNiMVlxs8aGIF/IXyxWBA Ku1IwOiCecsJ8AQKNLxPcAULSGw2zN/gCFDq2EPTQi8DWvMv03846szeSvhdVY5F6U5h FpqdVYAvajocoHXTWz5ZeY9x02LrlqyzEQRAAc+ZP1kp/9M916l2wBBq3Css+fn3MS8P gyzMF12fmRrM0z4lfNTS1iL7LJtqAjC1rOwGL/gmf4llMUjZsvPbOyyLGTxl4mexxAbr LHEEcyIBR4TDQyA39Hor9Sj/ynQLzT09/KWV6R4lbcCeay6Xc5T1bUdtngQ0k32KmkKq kgOg== 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=Zqq3F1x8iTh/TkeaHPEkf03Il1qkWXbwEgzWjN2sn14=; b=uEcdb+FzbbxhQUHi0hS2y633tj2Ce5PXgh8Ey4s+wgHTbeCsKzsrNXjV6qz0xODjrI S29/OvlA3EmnrhMDztf/egNs8UWFC4bB9JXfxmLAct9iZu0Qk2QRFgbtFFQ3WKbRkw6c UiF8eZ0sj/ZxUqS9ZFn57figkKK4NZ88ZXfWoh58fPN0CXQlamdDaWGd79gM9PTV/uTj N2LSVL4AAF46KImepw1VJYzHfiJDimhBUalenBV242sn/afm2jxTfrV0pu+B0htW1Wuq 42ScbI3ryFVIXSSN95o+E+4Q9QG7ATkp8WayJdePfpY5LlzDf5rvG2b6NRKrkdsP0knk JUkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DmWIz6o7; 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 w8si1102608otp.266.2020.04.07.03.29.29; Tue, 07 Apr 2020 03:29:41 -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=DmWIz6o7; 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 S1728816AbgDGKYw (ORCPT + 99 others); Tue, 7 Apr 2020 06:24:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:35210 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728810AbgDGKYu (ORCPT ); Tue, 7 Apr 2020 06:24:50 -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 97A762078C; Tue, 7 Apr 2020 10:24:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586255090; bh=AOAvaLVkDHeMRUUOp5dsa0b0RO3eEiCYm6DzGZdjcBU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DmWIz6o7kkzra+SwUmeQwoheYJ2a/rLuTDCKgSXeQXLbJ8FSzIHUJ1ZE55PWleaxs PvWTKIsjbMOYBcGkWklw9i2KFzQDWQzbBMkKEZSsCNZ35TUwF9wLCpjPicMmf3IX3Y GXxKuA9z2sDbUbYus1vbMLiXKN3P7qbY/lEDaMlY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Eugene Syromiatnikov , Mathieu Poirier Subject: [PATCH 5.5 25/46] coresight: do not use the BIT() macro in the UAPI header Date: Tue, 7 Apr 2020 12:21:56 +0200 Message-Id: <20200407101502.212130513@linuxfoundation.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200407101459.502593074@linuxfoundation.org> References: <20200407101459.502593074@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 9b6eaaf3db5e5888df7bca7fed7752a90f7fd871 upstream. The BIT() macro definition is not available for the UAPI headers (moreover, it can be defined differently in the user space); replace its usage with the _BITUL() macro that is defined in . Fixes: 237483aa5cf4 ("coresight: stm: adding driver for CoreSight STM component") Signed-off-by: Eugene Syromiatnikov Cc: stable Reviewed-by: Mathieu Poirier Link: https://lore.kernel.org/r/20200324042213.GA10452@asgard.redhat.com Signed-off-by: Greg Kroah-Hartman --- include/uapi/linux/coresight-stm.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- a/include/uapi/linux/coresight-stm.h +++ b/include/uapi/linux/coresight-stm.h @@ -2,8 +2,10 @@ #ifndef __UAPI_CORESIGHT_STM_H_ #define __UAPI_CORESIGHT_STM_H_ -#define STM_FLAG_TIMESTAMPED BIT(3) -#define STM_FLAG_GUARANTEED BIT(7) +#include + +#define STM_FLAG_TIMESTAMPED _BITUL(3) +#define STM_FLAG_GUARANTEED _BITUL(7) /* * The CoreSight STM supports guaranteed and invariant timing