From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751591AbdFHLyg (ORCPT ); Thu, 8 Jun 2017 07:54:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53530 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751569AbdFHLye (ORCPT ); Thu, 8 Jun 2017 07:54:34 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E2C76796E6 Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jolsa@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com E2C76796E6 Date: Thu, 8 Jun 2017 13:54:30 +0200 From: Jiri Olsa To: David Carrillo-Cisneros Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Andi Kleen , Simon Que , Wang Nan , Jiri Olsa , He Kuang , Masami Hiramatsu , Stephane Eranian , Paul Turner Subject: Re: [PATCH v3 11/15] perf header: add a buffer to struct feat_fd Message-ID: <20170608115430.GB29151@krava> References: <20170606070722.35213-1-davidcc@google.com> <20170606070722.35213-12-davidcc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170606070722.35213-12-davidcc@google.com> User-Agent: Mutt/1.8.0 (2017-02-23) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Thu, 08 Jun 2017 11:54:34 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 06, 2017 at 12:07:18AM -0700, David Carrillo-Cisneros wrote: SNIP > @@ -2600,7 +2661,7 @@ static int perf_file_section__process(struct perf_file_section *section, > struct perf_header *ph, > int feat, int fd, void *data) > { > - struct feat_fd fdd = { > + struct feat_fd ff = { > .fd = fd, > .ph = ph, > .size = section->size, > @@ -2621,7 +2682,7 @@ static int perf_file_section__process(struct perf_file_section *section, > if (!feat_ops[feat].process) > return 0; > > - return feat_ops[feat].process(&fdd, data); > + return feat_ops[feat].process(&ff, data); > } should be part of the previous patch that introduced this jirka