Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752330AbdGADcL (ORCPT ); Fri, 30 Jun 2017 23:32:11 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:56326 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751657AbdGADcJ (ORCPT ); Fri, 30 Jun 2017 23:32:09 -0400 Date: Fri, 30 Jun 2017 20:32:06 -0700 From: Darren Hart To: Stephen Rothwell Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Arvind Yadav Subject: Re: linux-next: build warning after merge of the drivers-x86 tree Message-ID: <20170701033206.GB24772@fury> References: <20170630140054.38f98968@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170630140054.38f98968@canb.auug.org.au> User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 845 Lines: 22 On Fri, Jun 30, 2017 at 02:00:54PM +1000, Stephen Rothwell wrote: > Hi Darren, > > After merging the drivers-x86 tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > drivers/platform/x86/sony-laptop.c: In function 'sony_laptop_setup_input': > drivers/platform/x86/sony-laptop.c:494:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] > key_dev->keycode = &sony_laptop_input_keycode_map; > ^ > > Introduced by commit > > a0f0a5e1978b ("platform/x86: sony-laptop: constify few static structures") Apologies, and thanks for the catch. Rolled the fix from Arnd together with this and the new one from Arvind. for-next had to be rebased to avoid introducing this error into mainline. -- Darren Hart VMware Open Source Technology Center