Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3965131imm; Mon, 6 Aug 2018 13:59:58 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdLNUBdlVom5sztrc/Fy83wqxp+c7vBaRjxv5vdi0pFVy939U5YJrAv/nJuNBqw/KCv57gQ X-Received: by 2002:a62:4308:: with SMTP id q8-v6mr18975922pfa.86.1533589198427; Mon, 06 Aug 2018 13:59:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533589198; cv=none; d=google.com; s=arc-20160816; b=iw4nh2PPeoYJGJgWrexMMcUENNCFc/uQAuClGtfxCxW4aRHzfWvNUwIs69OoscPq/w XKhASoBZ4+dbxqTrBYNPmwqf2kmnzqKIEZ5uELk4+B2yIPX90WRKLyqhUZC5gPkx7acf +mZyacZq+VvZifaVehHBRWI10mBWkyBfTOCpzO5xLRd8ekPQh2kuPjDpCVDSIOfmc6a4 ZIw53XqAvsD6zye0QFwR5qlFzML2nn0h/bkAGrvmLVrAqDaCBdT0x1DtPvtyBPpog4cl tN6tOiebMKsxb3nTaPPecwzwDlVcecxWJAIgJ2VZwXnDbuRxBp4AMI589DgfrM6Q8q5d 2kWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:from:cc:references:in-reply-to :message-id:date:subject:dkim-signature:arc-authentication-results; bh=oXCCAx54Hsht1v2cjNkJseZz56G/MpTfwTA1B8wBIvA=; b=MPxg2OZZcja6Togy9Rekf2gP54yaQd0kLQpHSeCJMKDcqY66oaunAPMNbeC11kl5Xc Ya6RNp2zj/u7CNa4yL5qyuSIjyl9B+/pUzKKZ5Etg2lToedrLbxdJ75kEfCSlzbqQisz j4odLlxj81ZXBUpvUpAJNk+EM1OLWyd6huOLatclrHKMN0VvshlGFPJNbaMdgyrEinvc JPRpL/oUn4Xbtbya1q00cKUZqDrWHaX/eiPw8nfTYZMtkMpeTU97GYqlDbXNcofrQeEf EaS4T+QMqSILWVHIRkR9FqqZymUD2n/xaL+qxmaD78/ilyaCVLZP7U3NNbJGEX0EOOll Zx7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=S5rRknY1; 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 b35-v6si11765823plb.273.2018.08.06.13.59.43; Mon, 06 Aug 2018 13:59:58 -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=@sifive.com header.s=google header.b=S5rRknY1; 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 S1732384AbeHFXJn (ORCPT + 99 others); Mon, 6 Aug 2018 19:09:43 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:44481 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728948AbeHFXJn (ORCPT ); Mon, 6 Aug 2018 19:09:43 -0400 Received: by mail-pf1-f193.google.com with SMTP id k21-v6so7416404pff.11 for ; Mon, 06 Aug 2018 13:58:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=subject:date:message-id:in-reply-to:references:cc:from:to; bh=oXCCAx54Hsht1v2cjNkJseZz56G/MpTfwTA1B8wBIvA=; b=S5rRknY16Jy4cuOwf2WrWIMwP17Xpl225g6xFZyfIXczMMuowgjQWeCxGfIbxYlLvC V7F053eMgLoQ5KyM27DISXCKmqjJ2k6jUdQ57mKZaECdlpUpMC5ftMeleEi1Ws4HBkmC bvq7+Y+Nea7sqpbBnkP0A0tt9pBNNAJJ7l/UIuSppo8Zj+akNb44PHcUeIn8Gjsm9Lq1 F5W+jL7GWkOnVv4rlwY/8oFK+mRXryOGo3vl3+be6aVGmUIutOYMhOjPM8jLdFYdJsv6 gkkyN2WlIFtIvrG/8/zQJLo0gPWygzaRYaepNTSCFfCGgwmRrc9aFMpdbZv9Dn/Z5nur sC7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:date:message-id:in-reply-to:references :cc:from:to; bh=oXCCAx54Hsht1v2cjNkJseZz56G/MpTfwTA1B8wBIvA=; b=hODjPHTgrox1ke8e4f2FxKAgjoMST813llA3eDfVUBbgMNSwKsGIuEYqoFICLEg/rn kF1vGvXJ83N1JIV4ZC1GAmf1tKU4Uam/a6LSwG2s6rJralYTqqX+P0HuHq9Am4oJSaPR OPa6ItgojSTNjbClKtASSOeNlDRcGj5A1dWGOb3iJjhrZUjclisr9oHkBSHjgp9i0dDZ if9JAESQREe2sJ/0cuagkGGw6RSVMqS2OhWiZwP8XH4AJsjNbS0TAucFCkKh2pFucx7Z KYBilIII7rgtkrdXP/KVfgWFLU6BJHySGivuvacb3X7GbEEDO9JZtzc9WKTwvU6zMYiR 4Hlg== X-Gm-Message-State: AOUpUlFp6CWAPIz38aUtRbe95TraylBOAKXq72MfOWLV/YDFx66xc/4Q kff4kzHIOZJYj14VF6kGP+z+TQ== X-Received: by 2002:a62:dec1:: with SMTP id h184-v6mr12130399pfg.197.1533589131647; Mon, 06 Aug 2018 13:58:51 -0700 (PDT) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id e82-v6sm25722848pfd.40.2018.08.06.13.58.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Aug 2018 13:58:50 -0700 (PDT) Subject: Re: RISC-V: Don't use a global include guard for uapi/asm/syscalls.h Date: Mon, 6 Aug 2018 13:42:57 -0700 Message-Id: <20180806204258.22280-1-palmer@sifive.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180804085438.GA15840@infradead.org> References: <20180804085438.GA15840@infradead.org> Cc: Palmer Dabbelt , aou@eecs.berkeley.edu, Arnd Bergmann , tklauser@distanz.ch, linux-kernel@vger.kernel.org From: Palmer Dabbelt To: linux-riscv@lists.infradead.org, Christoph Hellwig Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 04 Aug 2018 01:54:38 PDT (-0700), Christoph Hellwig wrote: >> 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. I've attached a v2 with both of these fixed. Thanks!