From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S968499AbdAHS6E (ORCPT ); Sun, 8 Jan 2017 13:58:04 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42348 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968381AbdAHS5u (ORCPT ); Sun, 8 Jan 2017 13:57:50 -0500 Date: Sun, 8 Jan 2017 19:57:47 +0100 From: Jiri Olsa To: Andi Kleen Cc: acme@kernel.org, jolsa@kernel.org, linux-kernel@vger.kernel.org, mingo@kernel.org, Andi Kleen Subject: Re: [PATCH 01/11] perf, tools: Factor out scale conversion code Message-ID: <20170108185747.GB14072@krava> References: <20170103150833.6694-1-andi@firstfloor.org> <20170103150833.6694-2-andi@firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170103150833.6694-2-andi@firstfloor.org> User-Agent: Mutt/1.7.1 (2016-10-04) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Sun, 08 Jan 2017 18:57:50 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 03, 2017 at 07:08:23AM -0800, Andi Kleen wrote: > From: Andi Kleen > > Move the scale factor parsing code to an own function > to reuse it in an upcoming patch. > > v2: Return error in case strdup returns NULL. > Signed-off-by: Andi Kleen > > squash! perf, tools: Factor out scale conversion code hm? ^^^ jirka