From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933121AbdHVOoX (ORCPT ); Tue, 22 Aug 2017 10:44:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48992 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932913AbdHVOoS (ORCPT ); Tue, 22 Aug 2017 10:44:18 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 868C4C04D30A Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=jolsa@redhat.com Date: Tue, 22 Aug 2017 16:44:16 +0200 From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: Andi Kleen , jolsa@kernel.org, linux-kernel@vger.kernel.org, Andi Kleen Subject: Re: [PATCH v2 01/19] perf, tools: Save max_x, max_y in xyarray Message-ID: <20170822144416.GA13453@krava> References: <20170811232634.30465-1-andi@firstfloor.org> <20170822082028.GC23985@krava> <20170822144050.GL10891@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170822144050.GL10891@kernel.org> User-Agent: Mutt/1.8.3 (2017-05-23) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 22 Aug 2017 14:44:18 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 22, 2017 at 11:40:50AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Aug 22, 2017 at 10:20:28AM +0200, Jiri Olsa escreveu: > > On Fri, Aug 11, 2017 at 04:26:16PM -0700, Andi Kleen wrote: > > > From: Andi Kleen > > > +static inline int xy_max_y(struct xyarray *xy) > > > +{ > > > + return xy->max_x; > > > +} > > > + > > > +static inline int xy_max_x(struct xyarray *xy) > > > +{ > > > + return xy->max_y; > > > +} > > > > I think you should follow the standard naming > > and use xyarray__max_x and xyarray__max_y > > Yeah, will take just a bit longer to process, I'll fix that up... fyi it's used in following patch jirka