Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp813377imu; Fri, 7 Dec 2018 09:16:14 -0800 (PST) X-Google-Smtp-Source: AFSGD/XbeZRSoBHzdW6k+7uKXdbnW8gAB9U65fhPtrYMGLymGRJIseiW9d1b+M/eoIa2qudfpxqW X-Received: by 2002:a63:fe48:: with SMTP id x8mr2728929pgj.261.1544202974388; Fri, 07 Dec 2018 09:16:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544202974; cv=none; d=google.com; s=arc-20160816; b=V1fGokbQLeQhio9YvgKyuJ2/TZqNdOQ1J43d0Ief1oNzl1/3Z6tNpQKWXlmLUXSnlW rUA3I4HMe4lClhXZniftfQnRqyz3/sEePQrMlo5fSMWVRC8UKdIW5SajeBKnb14u//It rGRie3FdJqOWQwhCNv/Tg1tiOe3ZUVJ8orZdj1c0/GlIKX8Zjg6wVGDqTGuLx7peVTAn Z7rqNZomGTJD/i24cTqEHweEEaa7zyIONy7J14miDi935vEyBbsARC6FuV06HUXnceG4 WLgEUh5t/luawncXWDnqLA4/13Ckszwm5goQUqldSYggQv8/X2kZPFFDZ2QCJbxoUCmF hCKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=r99iIvxko943YoCGYy5SXgRgO9JNwPQomNBP5y5eN1E=; b=c61iBDgTb7NxhejMY2QfrWv2nX7l+wSIDlcCo6Tx1YADa5cgGfAJ/65PtVfnvcHxfS KOujM4LcjCZ3kXfv09iScOL6s/QEQZzipGr9O2SR8BHNPAlV7J4Kut/W0I7nmovAgz3T Otj4xFYhP63n6TjDr88KVRpUVfyHMJdP1MjD5LLYnC0YzCfgTp8z+7aMhQ1luQMOqIH9 8lWytAe8ZPnJOkUVvzq9wvfyUH6Y/tYGa+jqPKfsd1EzF5zuLxHCa6A/27F76dnfopkH dBQNFYZRACfKP6xxmrwCQI/mFysNZVuf7YuOLZD2oqC12qA3/PhQQDekOhVeTZEcT1vV B7Rw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p12si3368332pgj.56.2018.12.07.09.15.44; Fri, 07 Dec 2018 09:16:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726079AbeLGROv (ORCPT + 99 others); Fri, 7 Dec 2018 12:14:51 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:49828 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726011AbeLGROu (ORCPT ); Fri, 7 Dec 2018 12:14:50 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0D03715AB; Fri, 7 Dec 2018 09:14:50 -0800 (PST) Received: from queper01-lin (queper01-lin.cambridge.arm.com [10.1.195.48]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9D7933F5AF; Fri, 7 Dec 2018 09:14:45 -0800 (PST) Date: Fri, 7 Dec 2018 17:14:40 +0000 From: Quentin Perret To: Georgi Djakov Cc: gregkh@linuxfoundation.org, linux-pm@vger.kernel.org, rjw@rjwysocki.net, robh+dt@kernel.org, mturquette@baylibre.com, khilman@baylibre.com, vincent.guittot@linaro.org, skannan@codeaurora.org, bjorn.andersson@linaro.org, amit.kucheria@linaro.org, seansw@qti.qualcomm.com, daidavid1@codeaurora.org, evgreen@chromium.org, dianders@chromium.org, mark.rutland@arm.com, lorenzo.pieralisi@arm.com, abailon@baylibre.com, maxime.ripard@bootlin.com, arnd@arndb.de, thierry.reding@gmail.com, ksitaraman@nvidia.com, sanjayc@nvidia.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-tegra@vger.kernel.org Subject: Re: [PATCH v11 8/8] interconnect: sdm845: Fix build failure after cmd_db API change Message-ID: <20181207171437.qmtacurmqg53zzkl@queper01-lin> References: <20181207152917.4862-1-georgi.djakov@linaro.org> <20181207152917.4862-9-georgi.djakov@linaro.org> <20181207162733.pdd62qvqzd6xk4nr@queper01-lin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 07 Dec 2018 at 18:47:22 (+0200), Georgi Djakov wrote: > Hi Quentin, > > On 12/7/18 18:27, Quentin Perret wrote: > > Hi Georgi, > > > > On Friday 07 Dec 2018 at 17:29:17 (+0200), Georgi Djakov wrote: > >> Recently the cmd_db_read_aux_data() function was changed to avoid using > >> memcpy and return a pointer instead. Update the code to the new API and > >> fix the build failure. > >> > >> Fixes: ed3cafa79ea7 ("soc: qcom: cmd-db: Stop memcpy()ing in cmd_db_read_aux_data()") > >> Signed-off-by: Georgi Djakov > >> --- > >> drivers/interconnect/qcom/sdm845.c | 26 ++++++++++++++------------ > > > > IIUC this file is introduced by patch 5. Should the fix be squashed > > into patch 5 directly ? Just to keep things bisectable. > > The reason why i have split it as a separate change is because as a > separate change it would be easier to review & test for the people who > are already familiar with the rest of the series. > > Another minor reason is that a separate patch will also make the life a > bit easier for some people who are back-porting this to kernels using > the older version of the cmd_db API. > > The commit that changed the cmd_db API is not yet in mainline, but in > linux-next. I am not sure what is preferred in this case? Not sure either but I guess that will depend who gets merged first ... If that's the cmd_db change, then you'll need to squash your fix in patch 5. If your series goes first, then the fix needs to be applied to the cmb_db change. I personally don't mind either way as long as we don't break bisection :-) Thanks, Quentin