From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.kundenserver.de ([217.72.192.75]:64812 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751067AbcBLVqM (ORCPT ); Fri, 12 Feb 2016 16:46:12 -0500 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Nicolas Pitre , linux-kernel@vger.kernel.org, Stefan Richter , linux-media@vger.kernel.org, Mauro Carvalho Chehab Subject: Re: [PATCH] [media] zl10353: use div_u64 instead of do_div Date: Fri, 12 Feb 2016 22:45:34 +0100 Message-ID: <5158925.0PEQLt1vYj@wuerfel> In-Reply-To: References: <1455287246-3540549-1-git-send-email-arnd@arndb.de> <6737272.LXr2g355Yt@wuerfel> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-media-owner@vger.kernel.org List-ID: On Friday 12 February 2016 16:38:53 Nicolas Pitre wrote: > On Fri, 12 Feb 2016, Arnd Bergmann wrote: > > > On Friday 12 February 2016 13:21:33 Nicolas Pitre wrote: > > > This is all related to the gcc bug for which I produced a test case > > > here: > > > > > > http://article.gmane.org/gmane.linux.kernel.cross-arch/29801 > > > > > > Do you know if this is fixed in recent gcc? > > > > I have a fairly recent gcc, but I also never got around to submit > > it properly. > > > > However, I did stumble over an older patch I did now, which I could > > not remember what it was good for. It does fix the problem, and > > it seems to be a better solution. > > WTF? Even better, it also fixes this one: drivers/mtd/chips/cfi_cmdset_0020.c: In function 'cfi_staa_write_buffers': drivers/mtd/chips/cfi_cmdset_0020.c:651:1: error: the frame size of 1064 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] I have not even looked what that is, I only saw show up the other day. Arnd