Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752671AbcKHWu7 (ORCPT ); Tue, 8 Nov 2016 17:50:59 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:52217 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752480AbcKHWu5 (ORCPT ); Tue, 8 Nov 2016 17:50:57 -0500 From: Arnd Bergmann To: Stephen Boyd Cc: Michael Turquette , Robert Jarzmik , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] clk: pxa mark dummy helper as 'inline' Date: Tue, 08 Nov 2016 23:50:47 +0100 Message-ID: <3322640.YEnpKiZ4P1@wuerfel> User-Agent: KMail/5.1.3 (Linux/4.4.0-34-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <20161108224259.GL16026@codeaurora.org> References: <20161108144950.3472058-1-arnd@arndb.de> <20161108224259.GL16026@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:CoxFhLqE19rJcZzIuYzuyQwkoRLPwD7rbOzYB8pnHCsnDMcU9rV gJJUlIJXz6tsYXPzxpAHSJW3uHYgd8zw94/L3+59mK9Y6WW3eeEY3crSMN4iwRDP8mafibA K+f6TZkDY1FGzmdNTDvWh9vAA0N1MrZ8FAnD7i/62wNbjgKCHMXM5N8gYUvkQVHTwsqNZSv wJ3QUjTgCzSdOCCoOPaeg== X-UI-Out-Filterresults: notjunk:1;V01:K0:XLIjEgvpih4=:ihuh32Pq+nkyHhfz+qr9tn ln5QcthaXa4+4aXU0X+uRIUfvJE9P+lifaOCTtUaUVufk7Ri5FQavgr8IlG5Qd6IfQuwkYLip mulO2/mvpk5MHI74zatpdyRjgB6HwgvuVAj2edwoszUvQBV3a9YCjqnNpx4RVNtRnPnxzX5St 01t/OxJa0PTbVseGJkddNnt+OM5vsF1g/+aJecNepMi4qaTO4ZptkLaYh1IsFMs6gGzd1tN8x nOE4T+5YOjDha1hbBqxagdeVdnfpSTFGGcB9I6+jz8ONb7Tvxkv/9GvEuOLzunXdiGCgr4lRI HBobLwMT2tL7Yt3zcJYqoEyuKp1ctetNF48zIma+7nEQDWMhedkgk0Jja4LLiVeLva1luIggK T/S9fkdiQUMk2KB2g26vKt6VI93fk6uWHqgUUjkpFObHEm0yvtOQtR7bnDYWRk6u3GpW6aGtb 9d3/3NEFwx03aXoQnQVF4xUGfv/J5EL8Z3VQJCtn9a1zk8hsxjEr0rBO8MFn4tfzFNoENeJKT OQz+SDG4THUG0OYcjO6c8N82mJXZagfkhYxN2Vz0Zr2GeBIUbMY40q9JyGDpFQlNnoVosCE6t vq2BZVwMuLBG0tJQZcsbOV3yXoSpcht1ci3k9a28tWvWYHrT+QaCRoUojdNF6BdW5b11tT+QP ieJ4mnSzSYJPzSXHwrd7+EzZ3fn5caR9Dy4+xHRpR6GIGvFyp1RwGeBl86rkr189pSjz00NA5 8fQV/rEQjkVa3T6W Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1060 Lines: 25 On Tuesday, November 8, 2016 2:42:59 PM CET Stephen Boyd wrote: > On 11/08, Arnd Bergmann wrote: > > The dummy_clk_set_parent function is marked as 'static' but is > > no longer referenced from the pxa25x clk driver after the last use > > of the RATE_RO_OPS() macro is gone from this file, causing a > > harmless build warning: > > > > In file included from drivers/clk/pxa/clk-pxa25x.c:24:0: > > drivers/clk/pxa/clk-pxa.h:146:12: error: 'dummy_clk_set_parent' defined but not used [-Werror=unused-function] > > > > This marks the functon as 'inline', which lets the compiler simply > > drop it when it gets referenced. > > > > Fixes: 9fe694295098 ("clk: pxa: transfer CPU clock setting from pxa2xx-cpufreq") > > I hope I don't rewrite clk-next history... I need some sort of > magic git pre-commit hook that rewrites fixes tags if the hash > changes. > I think if you end up rebasing clk-next, the correct approach would be to fold simple bugfixes into the patches that introduce the problems. Obviously you still need a way to find them though. Arnd