Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752001AbdF3FMb (ORCPT ); Fri, 30 Jun 2017 01:12:31 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:33738 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751333AbdF3FMa (ORCPT ); Fri, 30 Jun 2017 01:12:30 -0400 Subject: Re: linux-next: build warning after merge of the drivers-x86 tree To: Stephen Rothwell , Darren Hart References: <20170630140054.38f98968@canb.auug.org.au> Cc: Linux-Next Mailing List , Linux Kernel Mailing List From: Arvind Yadav Message-ID: Date: Fri, 30 Jun 2017 10:42:25 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170630140054.38f98968@canb.auug.org.au> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 716 Lines: 22 Hi, I have push one more patch which does not have this warning. please avoid my first patch. Thanks ~ arvind On Friday 30 June 2017 09:30 AM, 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") >