Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp571308ybl; Tue, 7 Jan 2020 11:07:29 -0800 (PST) X-Google-Smtp-Source: APXvYqw27EPyncXGvSAfVUMl1L14UIOk1NipnfTjNLDSNYjMB5ODKpfCQ2GUN0JlnYCS68IkiGxD X-Received: by 2002:a9d:68cb:: with SMTP id i11mr1307202oto.210.1578424049161; Tue, 07 Jan 2020 11:07:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578424049; cv=none; d=google.com; s=arc-20160816; b=lXcSn7GghaDine0xSbl9tZ4BIYA1786LXsVPfnrRgh0D96WRtpS0E80FcB2KK3XZA1 wdecXbcQBWQhqijddPPMay08qp907j16Y7FMD6atTAJVatWy+PPoMc2LlsSntaMmJ9U4 1uk32FfpHasB7XbKNPrNguiDCq/XfSNDKAgSgCjSXKxlxUZWnx37Iya6JQfqFBKbw2V+ GV0uxaA7xMQX/Icu0JCjLLk7aQVJ/mnaW5E9NF9oDmnz75KSA6PHDe5AXdxoM8CAbNn6 5srcXEJyN1+Evt1WR3JuP6GtEWKpKPGgU7IoixBWS6lEPiEJ/cFvB+Z5tG/JomfHPk34 VNTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=WWxhHK//rcBcFSuls00sx96LQKY1JxuNGToNs5GwtHE=; b=pDe1wBwU6Nz3kzu1BnbHQl7KXXoUPATkrtQ0zcZd1aKIxQHYb4KeU4D7rddv1KG+mc fBJeneWuaNbbDmymwZwHSSECYcFx/yLa38mfq8SxGctepMT8nuppRbAasSjvheIaB63F OhGlh7yH6HIDu2I/aFw+xUOeZ8akTfQaSI4EQlI9P1f47YylSl27ffhdshRbQuTRinpX SfSHpx8WwSg2wUtwtvyiEkc1WZVi8OCmr8nvY3CQjTy1GHAJ+Hzrp7Jgz9hKY0KWwr// pMntQ2XeC3CA7UCK5oWW5sQyMQlF7qOBr8Vby+27wr5wdEkWXIkcGgMk5di8+7BMzRp1 WRnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fVXvmnNx; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i8si363598otp.254.2020.01.07.11.07.06; Tue, 07 Jan 2020 11:07:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-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=@redhat.com header.s=mimecast20190719 header.b=fVXvmnNx; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728358AbgAGTGz (ORCPT + 99 others); Tue, 7 Jan 2020 14:06:55 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:47144 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728307AbgAGTGz (ORCPT ); Tue, 7 Jan 2020 14:06:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578424014; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WWxhHK//rcBcFSuls00sx96LQKY1JxuNGToNs5GwtHE=; b=fVXvmnNxX4dmyKrTZvQK0A4bK2Qe1rOlImgx1ho08vOQxBPDKvYKROzwjr84hE637p7dwc 88/DH31zPtqZUMswyekIzJWKyczPX9EsnAK0Ihqj8f+pQldRdiliRZzIeOcAOhxAgsxUR1 42NNda1ucGQjmNF3VPIL9btBxZIEaLY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-387-XMc0OE0bNWqMJngseAXjlw-1; Tue, 07 Jan 2020 14:06:51 -0500 X-MC-Unique: XMc0OE0bNWqMJngseAXjlw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0C9C4101511B; Tue, 7 Jan 2020 19:06:50 +0000 (UTC) Received: from madhat.boston.devel.redhat.com (ovpn-117-217.phx2.redhat.com [10.3.117.217]) by smtp.corp.redhat.com (Postfix) with ESMTP id 91F587BFBB; Tue, 7 Jan 2020 19:06:49 +0000 (UTC) Subject: Re: [nfs-utils PATCH 0/7] silence some warning in rpcgen To: Giulio Benetti , linux-nfs@vger.kernel.org References: <20200103215039.27471-1-giulio.benetti@benettiengineering.com> From: Steve Dickson Message-ID: <11af1233-d6e1-3952-475d-306dc5fefc06@RedHat.com> Date: Tue, 7 Jan 2020 14:06:49 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20200103215039.27471-1-giulio.benetti@benettiengineering.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On 1/3/20 4:50 PM, Giulio Benetti wrote: > Since I'm trying to bump version of nfs-utils to latest in Buildroot, I've > noticed some warning in rpcgen, so I've decided to clean them up by fixing > code or #pragma ignoring them. Hope this is useful. Other warnings are > still there waiting to be fixed and if you find these patches useful I'm > going to complete all warning correction. > > Giulio Benetti (7): > rpcgen: rpc_cout: silence unused def parameter > rpcgen: rpc_util: add storeval args to prototype > rpcgen: rpc_util: add findval args to prototype > rpcgen: rpc_parse: add get_definition() void argument > rpcgen: rpc_cout: fix potential -Wformat-nonliteral warning > rpcgen: rpc_hout: fix potential -Wformat-security warning > rpcgen: rpc_hout: fix indentation on f_print() argument separator > > tools/rpcgen/rpc_cout.c | 8 ++++---- > tools/rpcgen/rpc_hout.c | 4 +++- > tools/rpcgen/rpc_parse.h | 2 +- > tools/rpcgen/rpc_util.h | 4 ++-- > 4 files changed, 10 insertions(+), 8 deletions(-) > Committed (tag: nfs-utils-2-4-3-rc5) I must admit this code is actually being used... I assume they do the right thing... The rpcgen we been using is the old one that came out of the glibc code at https://github.com/thkukuk/rpcsvc-proto I wonder what the difference is.... steved.