From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752857AbbJIENz (ORCPT ); Fri, 9 Oct 2015 00:13:55 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:47225 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752416AbbJIENx (ORCPT ); Fri, 9 Oct 2015 00:13:53 -0400 Date: Fri, 9 Oct 2015 05:13:51 +0100 From: Al Viro To: Heiko Schocher Cc: linux-kernel@vger.kernel.org, Brian Norris , Richard Weinberger , linux-mtd@lists.infradead.org, David Woodhouse , Artem Bityutskiy Subject: Re: [PATCH] UBI: rename free variable Message-ID: <20151009041351.GZ22011@ZenIV.linux.org.uk> References: <1444361361-12219-1-git-send-email-hs@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1444361361-12219-1-git-send-email-hs@denx.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 09, 2015 at 05:29:21AM +0200, Heiko Schocher wrote: > rename free variable into not "free", as "free" prevents > ubi sources compiling under U-Boot. So rename "free" > into "pfree" where it is a pointer, and into "freel", > where it is a free list. Huh? If U-Boot has free defined as an object-like macro, it's an outright bug in U-Boot and it should be fixed there. If it's something else, it looks like a toolchain bug. Details, please...