Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1368569imm; Sat, 4 Aug 2018 01:56:38 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd3ZZbsVRihZyyKg5mQHtmGFY28/WAkinZ5HVfYE6xPqT1Iiuyqt4TnbUPaNVuMHF1z3L7l X-Received: by 2002:a62:4494:: with SMTP id m20-v6mr8191436pfi.205.1533372997941; Sat, 04 Aug 2018 01:56:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533372997; cv=none; d=google.com; s=arc-20160816; b=rTb5X40Z9H/ppuMPBP2PTULV6RSJ0nCwpAkqQg2lsDZygGWDWGrQY+dPfQMmWeQbLf TK6/3aqVhrVNWCo/nkOAp9djBGzEBDO1Z4GQGmdaV/fP5M0corupIsUtJpnXLAbefUdR mkXTlcI2snLaGC9gX/Ehr581CPzpyLG9Bt3lzBzRhNCo+KY43fX4eIedrs8PT0rAhBAT f2RZFtApDze+1QGfcCTSVOGRDjZ37PrZ5bBAdUqNcWVt1ZO8H5whyG+f7nWFoJPDzz8T Xz4sNBW4zeZ52s0Vis56s401OhfUVrbfc6N7SXHjsZ9ogzxBwd0HjmcQcWOWLIKjDXBK 6HIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=iJ9KKibEH6YiXFwHzrSthkCT/xhPRTH5nSYTv6ScgsA=; b=QJboT1r4F8PXGQDZBYFLBDsKoCteDJgelZruIGpoF4MP+QDkrLCV72pLZJYIs/gbGF 21KjbllniJPIBoRdwaTA3am8OaOBY2OSP2mN1Ve0Uw+tQazDu2gILwAcbbkHlmWRVXzf ax+m1WNrNJBgxT3mnAqVjNd3iBiaiBEX1VXmE0Mea0iMY2qKMZVk8yIk8mIsz6zg6D0a EGFEppK21bAtVO4mNN/Y6vxgCCXYkUx3MO+fFN1zSSNmRYOQGmDj6kSbpHBjeWxrD8y0 SBuQUwOBddVAjSt+CMHUe8imfHecp/FSV4axMkN3gfkuhJhhOoQ4oDaUy0XJyIIpT6bX p8CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="ICCp/d9w"; 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 f17-v6si6370151pge.494.2018.08.04.01.56.10; Sat, 04 Aug 2018 01:56:37 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="ICCp/d9w"; 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 S1726983AbeHDKyj (ORCPT + 99 others); Sat, 4 Aug 2018 06:54:39 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:40176 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726448AbeHDKyj (ORCPT ); Sat, 4 Aug 2018 06:54:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=iJ9KKibEH6YiXFwHzrSthkCT/xhPRTH5nSYTv6ScgsA=; b=ICCp/d9wytkSvJKjsgTY4wYl8 VBH7OtxM/Cy6s7ws05SvMBQFyxm30PnbT4BTBNj1TJG0oyY4ipSbdrf+lYz3MNmJ52Q33EntKR3lR 6tFjJi56PGhDET8jz5+lqJDlaU6sbl3plovW58BpVdGs5RZ6/kDbR7TgnhIYc8ABXUYtady8YjtQG WRBD0g7OzC8HjaqkeM58fVd9k08FfCd7R1VmEWPIqHfLoWsiHJklFDquEe+3oVrn92TcXXRCigtiU AS3x2zEDoGjXjuxL+UF5z1fJank/lYAz0na2hNQyR7ufckHIe2TRQB2cafQ0HU0THF+ZUXT6geeuC ibVeT6JOQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1flsKc-0005vU-Jw; Sat, 04 Aug 2018 08:54:38 +0000 Date: Sat, 4 Aug 2018 01:54:38 -0700 From: Christoph Hellwig To: Palmer Dabbelt Cc: linux-riscv@lists.infradead.org, Marcus Comstedt , linux-kernel@vger.kernel.org, aou@eecs.berkeley.edu Subject: Re: [PATCH] RISC-V: Don't use a global include guard for uapi/asm/syscalls.h Message-ID: <20180804085438.GA15840@infradead.org> References: <20180803195344.22271-1-palmer@sifive.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180803195344.22271-1-palmer@sifive.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > index 818655b0d535..882a6aa09a33 100644 > --- a/arch/riscv/include/uapi/asm/syscalls.h > +++ b/arch/riscv/include/uapi/asm/syscalls.h > @@ -1,10 +1,11 @@ > -/* SPDX-License-Identifier: GPL-2.0 */ > +// SPDX-License-Identifier: GPL-2.0 /* */ is the required style for headers, // is only for other files. > +/* There is explicitly no include guard here because this file is expected to > + * be included multiple times in order to define the syscall macros via > + * __SYSCALL. */ Normal Linux comment style would be: /* * There is explicitly no include guard here because this file is expected to * be included multiple times in order to define the syscall macros via * __SYSCALL. */ Also syscalls.h isn't included directly anywhere, but through , so we'll probably need a similar comment there as well.