From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH 1/2] of: remove extraneous 'const' in typedef Date: Thu, 11 May 2017 17:03:49 +0200 Message-ID: References: <20170511122458.3862716-1-arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rob Herring Cc: Frank Rowand , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: devicetree@vger.kernel.org On Thu, May 11, 2017 at 4:44 PM, Rob Herring wrote: > On Thu, May 11, 2017 at 7:24 AM, Arnd Bergmann wrote: >> One change that was meant to address a sparse warning turned out >> to cause hundreds of new gcc-7 warnings: > > I guess you are the only one on gcc-7. It was just released last week or so. I actually had been using it for a while but accidentally disabled a lot of the warning output until now some others started using it too and asked me about it. >> include/linux/of_irq.h:11:13: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers] >> >> After reverting the change, the gcc warnings are gone again, and I >> can't reproduce the sparse warnings either. > > Humm, maybe different sparse versions? I'm on 0.5.0. I have v0.5.0-183-gfbbfc73. To clarify, I did not get a sparse warning after my patch, I did not try reverting your patch first. Arnd -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html