Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758698AbdHYVFc (ORCPT ); Fri, 25 Aug 2017 17:05:32 -0400 Received: from sonic305-35.consmr.mail.ir2.yahoo.com ([77.238.177.97]:36200 "EHLO sonic305-35.consmr.mail.ir2.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754728AbdHYVFb (ORCPT ); Fri, 25 Aug 2017 17:05:31 -0400 X-YMail-OSG: oeXkg20VM1kEA0Gu6mc3sZlhgFLu09mYzKTEZJciE45.tRPMR35lmp4REVHC3uB 3K0CBgJYT7IBl5qwyQPLSgVmKc1w9tWdoBJTYBOKoyRiw4IFDTWbKt5vxNJMyGrGj_MzGGjkhn80 8oWXfMWRzTZu8R9stoRA1y1EiYP1.m3dF09B3kF_n2cEPQ_fbCGv6htjxP3WuianfArVDENbC4vc UvxqMwr2YIEbptGkrC3zVGlmGLFz6SmKFTsQ9fPb3RLhPazzK6ZGFI7AZJFQ11zH.VIEimjWkcxw izdX_aOHAYaXAW8DeoFhTLuA29_ElUBBFfL1AJbdhuAOUmO5ACCQw4G7FQmlNY_.fALO15mkYE.5 45JRDiDPj7fD35SJ5jL.X53xQyFQPEna3F.jw92064tmYeXLyVn7OHM7xA.Q7uyW174LY7Au95Ca x8.wboqAkdGOprIGam20z9aNiBOWEurQAWpjYzFpAvqyEGkk- Date: Fri, 25 Aug 2017 21:05:27 +0000 (UTC) From: Hin-Tak Leung Reply-To: Hin-Tak Leung To: , , , Arvind Yadav Cc: , , Message-ID: <1571555159.3124994.1503695127129@mail.yahoo.com> Subject: Re: [PATCH 31/35] wireless: realtek: rtl8187: constify usb_device_id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit References: <1571555159.3124994.1503695127129.ref@mail.yahoo.com> X-Mailer: WebService/1.1.10451 YahooMailBasic Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 723 Lines: 19 -------------------------------------------- On Tue, 8/8/17, Arvind Yadav wrote: Subject: [PATCH 31/35] wireless: realtek: rtl8187: constify usb_device_id To: kvalo@codeaurora.org, herton@canonical.com, htl10@users.sourceforge.net, Larry.Finger@lwfinger.net Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org Date: Tuesday, 8 August, 2017, 17:04 > usb_device_id are not supposed to change at > runtime. All functions > working with usb_device_id provided by > work with > const usb_device_id. So mark the > non-const structs as const. > Signed-off-by: Arvind Yadav Acked-by: htl10@users.sourceforge.net