Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1jLOPi-0002Is-A8 for mharc-grub-devel@gnu.org; Mon, 06 Apr 2020 05:51:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46226) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLOPf-0002AO-Ag for grub-devel@gnu.org; Mon, 06 Apr 2020 05:51:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLOPd-0001tp-Ru for grub-devel@gnu.org; Mon, 06 Apr 2020 05:51:26 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:20834 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLOPd-0001tY-Nl for grub-devel@gnu.org; Mon, 06 Apr 2020 05:51:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586166685; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+5ZacpAFx3OlYkfsFrRFsGzSMxILQcszgecOmyQ6ANg=; b=adR3u+odDBNBAEJyMNooQ4tNBk0fBN8MRCnm8gfb7ySSUzYS9Ka6gOnj8HA8AK6KP83Wsb PjfL+6PtIZ55jmYQxk7k2Lc9as38OOtB8NGF0AMsQuNbS3St9v9q8Vn2ahh1aLDomM0xCm 5IXO+hFVBM+iuoQw+1XwSLhAT4kG6/U= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-213-aihZKS1ZOeum8C2sNZBHAA-1; Mon, 06 Apr 2020 05:51:21 -0400 X-MC-Unique: aihZKS1ZOeum8C2sNZBHAA-1 Received: by mail-wm1-f71.google.com with SMTP id o26so1050459wmh.1 for ; Mon, 06 Apr 2020 02:51:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+5ZacpAFx3OlYkfsFrRFsGzSMxILQcszgecOmyQ6ANg=; b=awaNpHFd4YF+OwbRlJ9cKqITQT2kelZ3jWhl40+gPIPG/JdYaXJo5bakshCAZbYvmy NDyuGuOH2oiYDMCeX3ZIuDuJDe5uvUFyqYI0532KyZuAAFouO4TddysRd2X4kBlwmQbf ahKcM/1uHSjT/FforwMRQareGm538qSf85J20tY4RQPzBAv96Twpk5FyW+mJGYZCSGmP jMagaoGPWOPIIDz6u74tabw2advPptufC4CSGq6YI9cxq0Ox7JOl9nRSrCkaKWSHAVGq 3gyAMmAKtq6jgwqfRmgWKf6piBv7C1l4tEIiRoazuPYy5PXx8jwTH/uFAuU73ZHAUnzz 6TvQ== X-Gm-Message-State: AGi0PuZvkntxQCh1i+dv7vpVTHysqzwwWIE85NdNIhZhMjuaADpntSOz w4Ijl3X10r5fjThpGeiy8omb8xRiaQW4zpPl/t6zQyEn/qQ2fRDJ0XzrySJkplA+A41ds1B0UGO t91tvaOfEoBM= X-Received: by 2002:a5d:408d:: with SMTP id o13mr14102026wrp.44.1586166680339; Mon, 06 Apr 2020 02:51:20 -0700 (PDT) X-Google-Smtp-Source: APiQypJoBiRYxg/dsBuUBTVOl1GqLOLAPoCMiUQjNHFMEW+5wjxzXKm7FwADXb/eVntkaL2VYrO3IQ== X-Received: by 2002:a5d:408d:: with SMTP id o13mr14102004wrp.44.1586166680082; Mon, 06 Apr 2020 02:51:20 -0700 (PDT) Received: from ?IPv6:2a01:c50f:ab80:6700:527f:85b3:5615:ff0b? ([2a01:c50f:ab80:6700:527f:85b3:5615:ff0b]) by smtp.gmail.com with ESMTPSA id u16sm25433466wro.23.2020.04.06.02.51.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Apr 2020 02:51:19 -0700 (PDT) Subject: Re: [PATCH 10/10] module-verifier: make it possible to run checkers on grub-module-verifierxx.c To: The development of GNU GRUB , Daniel Kiper Cc: Daniel Kiper , Peter Jones References: <20200313191717.829225-1-javierm@redhat.com> <20200403192911.sky7ioibmt3ddrqg@tomti.i.net-space.pl> From: Javier Martinez Canillas Message-ID: Date: Mon, 6 Apr 2020 11:51:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200403192911.sky7ioibmt3ddrqg@tomti.i.net-space.pl> Content-Language: en-US X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.120 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2020 09:51:28 -0000 Hello Daniel, On 4/3/20 9:29 PM, Daniel Kiper wrote: > On Fri, Mar 13, 2020 at 08:17:17PM +0100, Javier Martinez Canillas wrote: >> From: Peter Jones >> >> This makes it so you can treat grub-module-verifierxx.c as a file you can >> build directly, so syntax checkers like vim's "syntastic" plugin, which uses >> "gcc -x c -fsyntax-only" to build it, will work. >> >> One still has to do whatever setup is required to make it pick the right >> include dirs, which -W options we use, etc., but this makes it so you can do >> the checking on the file you're editing, rather than on a different file. >> >> Signed-off-by: Peter Jones >> Signed-off-by: Javier Martinez Canillas >> >> --- >> >> util/grub-module-verifier32.c | 2 ++ >> util/grub-module-verifier64.c | 2 ++ >> util/grub-module-verifierXX.c | 9 +++++++++ >> 3 files changed, 13 insertions(+) > > Comments for this patch are here: > https://lists.gnu.org/archive/html/grub-devel/2018-09/msg00006.html > I missed that this patch was posted before by Peter, sorry. I'll address these before sending a v2. > Daniel > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel > Best regards, -- Javier Martinez Canillas Software Engineer - Desktop Hardware Enablement Red Hat