Received: by 2002:a17:90a:1609:0:0:0:0 with SMTP id n9csp2353656pja; Thu, 26 Mar 2020 13:48:25 -0700 (PDT) X-Google-Smtp-Source: ADFU+vugZh+gXPMt3My+EKc/AJowgbJpAA67PEk8g77Q9aJA/U03RPywo6S2t4vYykSYL5gy984K X-Received: by 2002:aca:c28b:: with SMTP id s133mr1782536oif.36.1585255704871; Thu, 26 Mar 2020 13:48:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585255704; cv=none; d=google.com; s=arc-20160816; b=bdySIJvqFwb6SfvcN/3zSLntLj4FpxFxmG2YdcBZ69fkRITgzktdarKu7gktE+SaTI YzKAVdt7czivGmvPqkcwuI4EMWdEsinjaaBiFnoZUfuljIgqf3y8fgT1l85cb4tJnHfK nfRieNwBB8nOURotjvr5XFFwfr883ulgDzDJEvjwR6730UHNb5TxfZKc1pZo6Ul7j3IM HcIS1BQY0RmdiQqDtSTefRdyM0EU3o+iA8Kd7JeJT/wk4RieIhaeBVj+iApcRP9uix/0 U2XEM/f+39AtG9NB0/qd3TBPdSbEE2CnCfm30RrcnjrkeLGHLRXVdf30D+7h9yme+DTz LRqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=hFmDAzMvOGbXbIJ/h6SAlbGFGd29D9Gy81xg+1fpmXw=; b=pLW5oX9LN+eQVOYkgvQHXgN9HbhpoVH8d846BLsAdIEHk3Do2jsv6BTtSbEcMw/wxd 3Mjvsun61weZ09N9MBGG7YTQu4PyUf3Rcy9QTL7xW5g8Z2+2/n3tCSQpkXKZ4RblkV/j 2O7k4a6O6d9OpIV2Oki4ERI3pCTDxHb9etp/9w7SYjeMHEUBFD9ERUjlWcU2U0stWBDT GCsP5r/vhhIiyPWly020NjIkqYsfsxp2qNmKbJDdDIgLXH9LxpsoUcLytOHQHzlTH7qv 9Y6VJOjp2SmzmEHcX5O0zcsMtHo+uKh8Jdj6bXDjiFA64ARmHS7J0nQcdZTiXOz1uSYT ZSCQ== ARC-Authentication-Results: i=1; mx.google.com; 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 h4si1440480oie.125.2020.03.26.13.48.11; Thu, 26 Mar 2020 13:48:24 -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; 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 S1727606AbgCZUrt (ORCPT + 99 others); Thu, 26 Mar 2020 16:47:49 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:53325 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726363AbgCZUrt (ORCPT ); Thu, 26 Mar 2020 16:47:49 -0400 X-Originating-IP: 86.202.105.35 Received: from localhost (lfbn-lyo-1-9-35.w86-202.abo.wanadoo.fr [86.202.105.35]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 87C2720007; Thu, 26 Mar 2020 20:47:46 +0000 (UTC) Date: Thu, 26 Mar 2020 21:47:46 +0100 From: Alexandre Belloni To: Eugene Syromiatnikov Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, Alessandro Zummo , "Dmitry V. Levin" Subject: Re: [PATCH] rtc: make definitions in include/uapi/linux/rtc.h actually useful for user space Message-ID: <20200326204746.GA593483@piout.net> References: <20200324041209.GA30727@asgard.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200324041209.GA30727@asgard.redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24/03/2020 05:12:09+0100, Eugene Syromiatnikov wrote: > BIT() macro is not defined in UAPI headers; there is, however, similarly > defined _BITUL() macro present in include/uapi/linux/const.h; use it > instead and include and in order to make > the definitions provided in the header useful. > > Fixes: 3431ca4837bf ("rtc: define RTC_VL_READ values") > Signed-off-by: Eugene Syromiatnikov > --- > include/uapi/linux/rtc.h | 11 +++++++---- > 1 file changed, 7 insertions(+), 4 deletions(-) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com