Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752176AbdHCKKh (ORCPT ); Thu, 3 Aug 2017 06:10:37 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:38062 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751963AbdHCKKc (ORCPT ); Thu, 3 Aug 2017 06:10:32 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8B76A602BC Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [10/11] net: qtnfmac: constify pci_device_id. From: Kalle Valo In-Reply-To: <1500315263-3373-1-git-send-email-arvind.yadav.cs@gmail.com> References: <1500315263-3373-1-git-send-email-arvind.yadav.cs@gmail.com> To: Arvind Yadav Cc: imitsyanko@quantenna.com, avinashp@quantenna.com, smatyukevich@quantenna.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20170803101031.6BEBA607B6@smtp.codeaurora.org> Date: Thu, 3 Aug 2017 10:10:31 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 613 Lines: 17 Arvind Yadav wrote: > pci_device_id are not supposed to change at runtime. All functions > working with pci_device_id provided by work with > const pci_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav > Reviewed-by: Sergey Matyukevich Patch applied to wireless-drivers-next.git, thanks. cc5becd38e87 net: qtnfmac: constify pci_device_id. -- https://patchwork.kernel.org/patch/9845911/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches