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=-9.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 17B7FC433DF for ; Thu, 21 May 2020 14:56:10 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B383620721 for ; Thu, 21 May 2020 14:56:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Rdfvq+bf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B383620721 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jbmbs-0000xK-4A; Thu, 21 May 2020 14:55:48 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jbmbq-0000xF-GJ for xen-devel@lists.xenproject.org; Thu, 21 May 2020 14:55:46 +0000 X-Inumbo-ID: 26a84776-9b73-11ea-b07b-bc764e2007e4 Received: from mail-qv1-xf42.google.com (unknown [2607:f8b0:4864:20::f42]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 26a84776-9b73-11ea-b07b-bc764e2007e4; Thu, 21 May 2020 14:55:46 +0000 (UTC) Received: by mail-qv1-xf42.google.com with SMTP id r3so3207355qve.1 for ; Thu, 21 May 2020 07:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=cGvCZX+A0EzA0r2FDdND3g4LWpEzQENF+HcMEUiPxHE=; b=Rdfvq+bfMRI+cBy9w0lkkvgWZzVi4hbhRo0aDkW/UaBsIFOooOl8FsgUK9MOjPllIh jFGeiETO6KWbroyRqI3/e2iyap2h0M/4wzYl70g4pnPih23UgV7LbwBpIqdxkZUHjvBP sEE01kKy5pVonFyFkq743tW5ebNIICrSFQ7DA82NsxfIH1x4i88FeW4HXgy4fFtxPzMd foR/wZV3q627eHxxgC40JNI+5TbfknZlHIyYs4DnvTPpR1L+Fx4JfJqDVp6TqVFAi2xR 6sx3uQwtxl5jPlwJ7M8BlP7MJb/vlkmf88LEGw9IYqufkpj4Nh3T2h7xymU3J2DrPqxT ebgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=cGvCZX+A0EzA0r2FDdND3g4LWpEzQENF+HcMEUiPxHE=; b=jlih5XN4dMAZjTXfwCsZ4NMYXKkVQqD4g87yKwwQFzwwUsch1O2vMxAh3tajHMG3G7 3TxJK8uN8oehg/3lWdmJTsFz4VLkRxbYV9z18Xn3ccER406JtUuogZFb5rTMxn3BgYcC Bqw7eEYVfN3qNJ5NFXIrrB74SW7mOf3iRfl7JVdH31X3+z/BmdT5PGwPrm+skUK6jbQS SmLArS4a9kopVFzSq4wSbJNKNkJv7dIp+L5crDlSgOps7jNAfGaSIQ1AwvwIrfJkLTt3 xksX8SlcbZd2QPWbXUGfwBg84TcAUzNJB4xogxJ0/HvwdRfaGzS/tx1kDrR8jCHYXtHP qY/g== X-Gm-Message-State: AOAM5332toHH4qzXx/qzs3Y7VRVN+EdS94GBvQ34U2rzzlXZAgzNgyvm kGiq1jojJYzw+26dAI1i23N/WFl91r4= X-Google-Smtp-Source: ABdhPJwZH/JAPdYzAO2i+paeAGSEK5CanslYlbW8asmm6LOhLE+4jdZSbz/7m8rJmgHznR5M0a/xUw== X-Received: by 2002:a05:6214:1543:: with SMTP id t3mr10755668qvw.122.1590072945250; Thu, 21 May 2020 07:55:45 -0700 (PDT) Received: from six.lan (cpe-67-241-56-252.twcny.res.rr.com. [67.241.56.252]) by smtp.gmail.com with ESMTPSA id x124sm4990687qkb.108.2020.05.21.07.55.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 May 2020 07:55:44 -0700 (PDT) From: Nick Rosbrook X-Google-Original-From: Nick Rosbrook To: xen-devel@lists.xenproject.org Subject: [PATCH] golang/xenlight: add an empty line after DO NOT EDIT comment Date: Thu, 21 May 2020 10:55:25 -0400 Message-Id: <49cc21c24b65ef5e1ce9810397c0fcd9d43f77f4.1590072675.git.rosbrookn@ainfosec.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Nick Rosbrook , Ian Jackson , George Dunlap , Wei Liu Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" When generating documentation, pkg.go.dev and godoc.org assume a comment that immediately precedes the package declaration is a "package comment", and should be shown in the documentation. Add an empty line after the DO NOT EDIT comment in generated files to prevent these comments from appearing as "package comments." Signed-off-by: Nick Rosbrook --- tools/golang/xenlight/gengotypes.py | 1 + tools/golang/xenlight/helpers.gen.go | 1 + tools/golang/xenlight/types.gen.go | 1 + 3 files changed, 3 insertions(+) diff --git a/tools/golang/xenlight/gengotypes.py b/tools/golang/xenlight/gengotypes.py index e9ad92afa0..2b71aa1ea8 100644 --- a/tools/golang/xenlight/gengotypes.py +++ b/tools/golang/xenlight/gengotypes.py @@ -737,6 +737,7 @@ if __name__ == '__main__': // This file is generated by: // {} // + """.format(' '.join(sys.argv)) xenlight_golang_generate_types(types=types, diff --git a/tools/golang/xenlight/helpers.gen.go b/tools/golang/xenlight/helpers.gen.go index 109e9515a2..d464e38565 100644 --- a/tools/golang/xenlight/helpers.gen.go +++ b/tools/golang/xenlight/helpers.gen.go @@ -3,6 +3,7 @@ // This file is generated by: // gengotypes.py ../../libxl/libxl_types.idl // + package xenlight import ( diff --git a/tools/golang/xenlight/types.gen.go b/tools/golang/xenlight/types.gen.go index df68fd0e88..65c2742bc3 100644 --- a/tools/golang/xenlight/types.gen.go +++ b/tools/golang/xenlight/types.gen.go @@ -3,6 +3,7 @@ // This file is generated by: // gengotypes.py ../../libxl/libxl_types.idl // + package xenlight type Error int -- 2.17.1