Received: by 10.223.164.202 with SMTP id h10csp235192wrb; Mon, 6 Nov 2017 05:51:07 -0800 (PST) X-Google-Smtp-Source: ABhQp+QQQBpHUYmEwEbcjKLnNG+l0VtTL9Dm9ZRN638ZAFaH9Mb3ybsUsoUXb7yaMbA2LGpdwCEU X-Received: by 10.159.247.130 with SMTP id e2mr12174852pls.296.1509976267739; Mon, 06 Nov 2017 05:51:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509976267; cv=none; d=google.com; s=arc-20160816; b=XT+BGAH9OFRkMoiJNpkvg+LjSxlXyB72u17g6FLbYAcuvsseEXKrpWi1Da3UG7/dNY 5KSdwfC+kmmeXcMLTDpO9YtDavdJPVLiOPOR+hl+NfCbyH43nqEe3BNUhXLJejSUCzKq YIl+iucx+BO5bXN1Iihb0y8YCzDovTHX5qRXVhPTW/oY8riqENl1SI14IpQqyvP8ebCj LZVehU/nOmrJ24hTXuKgOsxvxdLp7aXUGcw+UHMw6PzACXlLSNoFnmVSEzXvaEqeRZe6 pEHXM6du6r3kLTpPmcz/l+B6BZaXnouCTOXBRsWVl+TUqq72YPFxBobkh2m5i37PysgC a3Ag== 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:arc-authentication-results; bh=Nvpw7IcBoM246EjsDFjn/yonL3fYCFxWLqrN2PCG3rU=; b=tR4WUZdXQGPBTmzJCzk0IXBj9oS9WQH6b2KVtGf+KR18LPFZZ4ZNURt2a+l/t4+pDp U+UQIVLvFiIOVOQNz9h2Nqv2sJOKYSHW6MftzNZ1DQJ4Hz5Bw5SGGbE7LNruvR1kDTwe SbiuJcQd7vXfM/9qiMlaDg5ChNEmbfMCTGbv315LSw8DgIiy7sfh6QABCx7rvRGVeXYq OsV3MP35DLFDKzJOdVoOetml27OzzQLtEpisK9ey6u13pg3sMFlFcnlA/fZQdncoXm3e yFSRWO9bTgN9Hxgc1zr+2zGgrt4taSUg58woORqLYMmTV8eTuDxqlIhhIl12TxFFw6NP uXrQ== ARC-Authentication-Results: i=1; mx.google.com; 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 34si10124370plz.777.2017.11.06.05.50.53; Mon, 06 Nov 2017 05:51:07 -0800 (PST) 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; 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 S1753292AbdKFNuQ (ORCPT + 98 others); Mon, 6 Nov 2017 08:50:16 -0500 Received: from mail.us.es ([193.147.175.20]:35438 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753041AbdKFNuO (ORCPT ); Mon, 6 Nov 2017 08:50:14 -0500 Received: from antivirus1-rhel7.int (unknown [192.168.2.11]) by mail.us.es (Postfix) with ESMTP id 23754FC5E8 for ; Mon, 6 Nov 2017 14:50:13 +0100 (CET) Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id 12FAEDA78E for ; Mon, 6 Nov 2017 14:50:13 +0100 (CET) Received: by antivirus1-rhel7.int (Postfix, from userid 99) id 10827DA57E; Mon, 6 Nov 2017 14:50:13 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on antivirus1-rhel7.int X-Spam-Level: X-Spam-Status: No, score=-108.2 required=7.5 tests=ALL_TRUSTED,BAYES_50, HEADER_FROM_DIFFERENT_DOMAINS,SMTPAUTH_US2,USER_IN_WHITELIST autolearn=disabled version=3.4.1 Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id CA792DA863; Mon, 6 Nov 2017 14:50:10 +0100 (CET) Received: from 192.168.1.97 (192.168.1.97) by antivirus1-rhel7.int (F-Secure/fsigk_smtp/550/antivirus1-rhel7.int); Mon, 06 Nov 2017 14:50:10 +0100 (CET) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/antivirus1-rhel7.int) Received: from us.es (unknown [27.1.3.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 1984lsi) by entrada.int (Postfix) with ESMTPSA id 6991A403DFA6; Mon, 6 Nov 2017 14:50:08 +0100 (CET) Date: Mon, 6 Nov 2017 14:50:02 +0100 X-SMTPAUTHUS: auth mail.us.es From: Pablo Neira Ayuso To: Colin King Cc: Jozsef Kadlecsik , Florian Westphal , Stephen Hemminger , "David S . Miller" , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, bridge@lists.linux-foundation.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] netfilter: ebtables: clean up initialization of buf Message-ID: <20171106135002.GA7055@salvia> References: <20171016102402.10358-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171016102402.10358-1-colin.king@canonical.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 16, 2017 at 11:24:02AM +0100, Colin King wrote: > From: Colin Ian King > > buf is initialized to buf_start and then set on the next statement > to buf_start + offsets[i]. Clean this up to just initialize buf > to buf_start + offsets[i] to clean up the clang build warning: > "Value stored to 'buf' during its initialization is never read" Applied, thanks. From 1581409371174201547@xxx Mon Oct 16 10:25:01 +0000 2017 X-GM-THRID: 1581409371174201547 X-Gmail-Labels: Inbox,Category Forums