From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A7FEC2BAEE for ; Tue, 24 Mar 2020 06:28:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D899A2073E for ; Tue, 24 Mar 2020 06:28:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585031338; bh=QXnZDI5i54nlP9QF18vP1OcNbhYUp6bbcas64dls10w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=OLY5N/uSXHonA3ifE5u5G8+O/4sOSaKk3BTo7zSmJzGeWH0hBei/ogyXNEoOcHUY9 jy8lL0gDhKsjD/B65+n/9IyPITpRJXsEzuH1brLIuzK7MoctQprZSOj9nkErcj+yY+ IPPGYJnaK9cJ/+RHfwVRoj9Opo6R5OECx2KwP6oE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727422AbgCXG26 (ORCPT ); Tue, 24 Mar 2020 02:28:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:49128 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725905AbgCXG25 (ORCPT ); Tue, 24 Mar 2020 02:28:57 -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 8597820663; Tue, 24 Mar 2020 06:28:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585031336; bh=QXnZDI5i54nlP9QF18vP1OcNbhYUp6bbcas64dls10w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=u3rPCmFCYMNcFFoItsXZ1KUwNaD8tLa+PdkbHJKkOV+ddwKoY18kRUINpBbhW/ISl E3AzpcFkEWRa+PhPYD/y3eLdxUcYi1fHqLLItvVkx1TJtCpzWWNn5aWlhNAWmspXaV tSNOFKKHcnWruNLDgCtldVvr/dUrKJkeXBKu3fWs= Date: Tue, 24 Mar 2020 07:28:53 +0100 From: Greg Kroah-Hartman To: Eugene Syromiatnikov Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Pratik Patel , Maxime Coquelin , Alexandre Torgue , Michael Williams , Mathieu Poirier , Chunyan Zhang , "Dmitry V. Levin" Subject: Re: [PATCH] coresight: do not use the BIT() macro in the UAPI header Message-ID: <20200324062853.GD1977781@kroah.com> References: <20200324042213.GA10452@asgard.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200324042213.GA10452@asgard.redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 24, 2020 at 05:22:13AM +0100, Eugene Syromiatnikov wrote: > 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 . Why is somehow _BITUL() ok to use here instead? Just open-code it, I didn't think we could use any BIT()-like macros in uapi .h files. thanks, greg k-h