Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756813AbcLTVOa (ORCPT ); Tue, 20 Dec 2016 16:14:30 -0500 Received: from terminus.zytor.com ([198.137.202.10]:39338 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751022AbcLTVO1 (ORCPT ); Tue, 20 Dec 2016 16:14:27 -0500 Subject: Re: [tip:x86/urgent] x86/tools: Fix gcc-7 warning in relocs.c To: Markus Trippelsdorf References: <20161215124513.GA289@x4> <20161220100056.GA289@x4> <2966d559-2cea-fd95-76d4-df34192a9b88@zytor.com> <20161220115109.GB289@x4> <20577F06-9AE8-4760-9F38-45711025D6FB@zytor.com> <20161220193153.GE289@x4> Cc: tglx@linutronix.de, linux-kernel@vger.kernel.org, mingo@kernel.org, linux-tip-commits@vger.kernel.org From: "H. Peter Anvin" Message-ID: <91ee3fe0-ccfe-2b33-e7da-b70f82c69b4e@zytor.com> Date: Tue, 20 Dec 2016 12:44:14 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161220193153.GE289@x4> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 308 Lines: 12 On 12/20/16 11:31, Markus Trippelsdorf wrote: > > 7.24.1(2) > »Where an argument declared as size_t n specifies the length of the > array for a function, n can have the value zero […] pointer arguments on > such a call shall still have valid values, as described in 7.1.4.« > OK, fair enough. -hpa