From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753360AbcLFXQs (ORCPT ); Tue, 6 Dec 2016 18:16:48 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:39184 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751593AbcLFXQo (ORCPT ); Tue, 6 Dec 2016 18:16:44 -0500 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 8CE26615E9 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=sboyd@codeaurora.org Date: Tue, 6 Dec 2016 15:16:42 -0800 From: Stephen Boyd To: Masahiro Yamada Cc: Vinson Lee , linux-clk , Michael Turquette , Linux Kernel Mailing List , linux-arm-kernel , Andrew Morton Subject: Re: [PATCH] clk: uniphier: Fix build with gcc-4.4. Message-ID: <20161206231642.GA4388@codeaurora.org> References: <1480725436-9628-1-git-send-email-vlee@freedesktop.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/03, Masahiro Yamada wrote: > Hi Vinson, > > 2016-12-03 9:37 GMT+09:00 Vinson Lee : > > gcc-4.4 has issues with anonymous unions in initializers. > > > > CC drivers/clk/uniphier/clk-uniphier-sys.o > > drivers/clk/uniphier/clk-uniphier-sys.c:45: error: unknown field ‘factor’ specified in initializer > > > > Fixes: 1574d5722636 ("clk: uniphier: remove unneeded member name for union") > > Signed-off-by: Vinson Lee > > > This driver has COMPILE_TEST option, but kbuild test robot > did not mention about this. > > > > This is a bad way of fixing, I think. > (what if a new member is inserted before the union in the future?) > > Rather, please revert the bad commit. > Reverting on top of clk-next will cause build failures though. Can you resend the patch series without this first patch please? I'll apply them then. I'll go drop all three patches and wreck Andrew's merge of this patch to -mm. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project