Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752972AbdHKOAR (ORCPT ); Fri, 11 Aug 2017 10:00:17 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:33768 "EHLO alexa-out-lv-01.qualcomm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752610AbdHKOAP (ORCPT ); Fri, 11 Aug 2017 10:00:15 -0400 X-IronPort-AV: E=Sophos;i="5.41,358,1498546800"; d="scan'208";a="3004342" X-IronPort-AV: E=McAfee;i="5900,7806,8618"; a="980782621" X-MGA-submission: =?us-ascii?q?MDE8Y/QpjK77Yi6ws6pVGACokGpRRJJIHhqpFj?= =?us-ascii?q?P1m0AqUnQYzY/iezQktqkcrwF7TPGhBpHcN4yqOme+dq3/8eyD6bPmAX?= =?us-ascii?q?rS9Q9O3b4Ueb7D05kY1a2qduwBgGvpmqZnmPMOb/0lrds1W9pdubrHFq?= =?us-ascii?q?Sj?= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [v2,02/20] ath6kl: constify usb_device_id From: Kalle Valo In-Reply-To: <1502295823-20824-3-git-send-email-arvind.yadav.cs@gmail.com> References: <1502295823-20824-3-git-send-email-arvind.yadav.cs@gmail.com> To: Arvind Yadav CC: , , , , User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-ID: Date: Fri, 11 Aug 2017 15:59:37 +0200 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01B.na.qualcomm.com (10.85.0.82) To euamsexm01a.eu.qualcomm.com (10.251.127.40) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 735 Lines: 20 Arvind Yadav wrote: > 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 > Reviewed-by: Steve deRosier > Tested-by: Steve deRosier > Signed-off-by: Kalle Valo 2 patches applied to ath-next branch of ath.git, thanks. e881a6584941 ath6kl: constify usb_device_id 76b07b30c46b ath9k: constify usb_device_id -- https://patchwork.kernel.org/patch/9890987/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches