Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp781272imu; Fri, 7 Dec 2018 08:48:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/WIPi01SF2Sk64nIdBRwUEWk3yoRS2SLnFGE5CYQ2V2Qc9PoVqKiHDl+auJ+XXDb1Hj3vKW X-Received: by 2002:a17:902:6946:: with SMTP id k6mr2862108plt.101.1544201302039; Fri, 07 Dec 2018 08:48:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544201302; cv=none; d=google.com; s=arc-20160816; b=aWGTNtHYFxQ2S930nJe420dPE7i0Y10udnhQOy7OMne+eOTwftGniWevezQAg/FSny xGYsAsO0dxyP8X5A1rNA00t4k7GAXXW6rctNQTO996+H4B7W0w5M0XMbnPL0oFraGhID vZ2ovXYqooYwftKrYjPPwjcI/A9ltzH4HEgMreLpa9aAzC5by8CdWdOdQzDunUtHYwNm 61s5RuWWVBBnj4EtVTT2tl5gOhueCEVj/BIWyJbcu51LYdaOUki/Mkz/4CEpKD1+4T2h SxxZ7QIBYlWHTJ+mGuGsttXAW0UwJS4wAPidpNe/pfjX6t3wTdnx5pwlBPacpSr5G0o6 Zn6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:date:message-id:autocrypt :openpgp:from:references:cc:to:subject:dkim-signature; bh=H4tnCfOFl299kRxsFKLnWOWf5fYoJAnl+bg4R7DuTEI=; b=xQIWbeEVLoUpCmKg+y3ubmp5/6qsbax5Z6wU887EEvhj6JDlwWnrpCdbqDYZ/w2k1N 54W+vj+G4qv4VqTh477awwnKeQtw9ukB9TqQ0CYY4coPOT2fe4/cxLjNHtZ6Q1XJ/T/F pL2VOK4G1+oU8C96gltJCB0rLtTJWxFdai+noVXxnPwFYU2AMPazlxnVoU1B3XN003Nu rfq7WlGn2jN+utQXp/0G1GiUJ72a/4I4HQ5VXluv51Ni9m8eUuaPQSQEfKpZA5Gypopv BwvsEINipQQNF95TO8WMmuFnpZ6z3WTuS3hRfgQc8pXlodRfi4uNBCijXlOH37oNWpVL EkPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UeTT93r2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4si3410771pfb.190.2018.12.07.08.48.05; Fri, 07 Dec 2018 08:48:22 -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; dkim=pass header.i=@linaro.org header.s=google header.b=UeTT93r2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726074AbeLGQr1 (ORCPT + 99 others); Fri, 7 Dec 2018 11:47:27 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:44253 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726034AbeLGQr1 (ORCPT ); Fri, 7 Dec 2018 11:47:27 -0500 Received: by mail-wr1-f67.google.com with SMTP id z5so4390054wrt.11 for ; Fri, 07 Dec 2018 08:47:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=H4tnCfOFl299kRxsFKLnWOWf5fYoJAnl+bg4R7DuTEI=; b=UeTT93r21oTh0CrKtc6+QCTmscg+JKkkLYsZHDebAKiwa9k6W6HCc+y6n3qPq8W3Xm zv3mx+d832/M1lJS69FLcB6k0DMe366/vtJ7MrTPI5W9Lo99iAefG6DZNkt6rSAm6KSc sFEy+HEc7wp7ab1zOLvKv6gFvMUsSxzUIR+4I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=H4tnCfOFl299kRxsFKLnWOWf5fYoJAnl+bg4R7DuTEI=; b=mlpYdKnF3OXEnMXP5HoPp9Df8HoN/hZkbE6knNIDrVIUmGejI0K0dpYe6qX954h67q 2Y0z+rsijlGfYRk+OcrOaafXoHJe8owa8sPHAB7TLXY2n16p5PH3DiAGgdDjK7qIaS+5 k4BssfTK9TY/o+T2N+CfdkQ/a21sdE0emK1m/IK4X0xM6yePWqRqmezYgPv6D7QEpwBn z0oPRgSfEQ72n1YgHVn+8wwJmmH8xBQjuze2+0A7gFAPgIlpHk/cZcdM8AfE+6s4cZF1 meB8R9lzutNmPIyOU7HPMDZ2scNhuu+Hm9X3SO/APbeFqNTyqpwLt9AIkChilni3ey8Y moyQ== X-Gm-Message-State: AA+aEWYELgJ5a09A6iTdeWCHdNoZfGzG5BSY7Etasn6fpK8puMtg6zNG IjWj5rCXkOpuUS4GP7ve9png6Q== X-Received: by 2002:a5d:4286:: with SMTP id k6mr2421479wrq.225.1544201244488; Fri, 07 Dec 2018 08:47:24 -0800 (PST) Received: from [10.44.66.8] ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id v1sm4982165wrw.90.2018.12.07.08.47.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Dec 2018 08:47:23 -0800 (PST) Subject: Re: [PATCH v11 8/8] interconnect: sdm845: Fix build failure after cmd_db API change To: Quentin Perret 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 References: <20181207152917.4862-1-georgi.djakov@linaro.org> <20181207152917.4862-9-georgi.djakov@linaro.org> <20181207162733.pdd62qvqzd6xk4nr@queper01-lin> From: Georgi Djakov Openpgp: preference=signencrypt Autocrypt: addr=georgi.djakov@linaro.org; prefer-encrypt=mutual; keydata= xsFNBFjTuRcBEACyAOVzghvyN19Sa/Nit4LPBWkICi5W20p6bwiZvdjhtuh50H5q4ktyxJtp 1+s8dMSa/j58hAWhrc2SNL3fttOCo+MM1bQWwe8uMBQJP4swgXf5ZUYkSssQlXxGKqBSbWLB uFHOOBTzaQBaNgsdXo+mQ1h8UCgM0zQOmbs2ort8aHnH2i65oLs5/Xgv/Qivde/FcFtvEFaL 0TZ7odM67u+M32VetH5nBVPESmnEDjRBPw/DOPhFBPXtal53ZFiiRr6Bm1qKVu3dOEYXHHDt nF13gB+vBZ6x5pjl02NUEucSHQiuCc2Aaavo6xnuBc3lnd4z/xk6GLBqFP3P/eJ56eJv4d0B 0LLgQ7c1T3fU4/5NDRRCnyk6HJ5+HSxD4KVuluj0jnXW4CKzFkKaTxOp7jE6ZD/9Sh74DM8v etN8uwDjtYsM07I3Szlh/I+iThxe/4zVtUQsvgXjwuoOOBWWc4m4KKg+W4zm8bSCqrd1DUgL f67WiEZgvN7tP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VyIqXBO xOf0vQEokkUGRKWBE0uA3zFVRfLiT6NUjDQ0vdphTnsdA7h01MliZLQ2lLL2Mt5lsqU+6sup Tfql1omgEpjnFsPsyFebzcKGbdEr6vySGa3Cof+miX06hQXKe99a5+eHNhtZJcMAIO89wZmj 7ayYJIXFqjl/X0KBcCbiAl4vbdBw1bqFnO4zd1lMXKVoa29UHqby4MPbQhjWNVv9kqp8A39+ E9xw890l1xdERkjVKX6IEJu2hf7X3MMl9tOjBK6MvdOUxvh1bNNmXh7OlBL1MpJYY/ydIm3B KEmKjLDvB0pePJkdTw== Message-ID: Date: Fri, 7 Dec 2018 18:47:22 +0200 MIME-Version: 1.0 In-Reply-To: <20181207162733.pdd62qvqzd6xk4nr@queper01-lin> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Thanks, Georgi