Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751974AbdIVKPo (ORCPT ); Fri, 22 Sep 2017 06:15:44 -0400 Received: from orcrist.hmeau.com ([104.223.48.154]:38796 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752213AbdIVKPk (ORCPT ); Fri, 22 Sep 2017 06:15:40 -0400 Date: Fri, 22 Sep 2017 18:15:21 +0800 From: Herbert Xu To: Arvind Yadav Cc: davem@davemloft.net, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org Subject: Re: [PATCH] crypto: padlock-sha: constify x86_cpu_id Message-ID: <20170922101521.GM16270@gondor.apana.org.au> References: <65b824f997b05b65cdd76e41d2e6dda631d5b684.1503685310.git.arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <65b824f997b05b65cdd76e41d2e6dda631d5b684.1503685310.git.arvind.yadav.cs@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 484 Lines: 12 On Fri, Aug 25, 2017 at 11:53:59PM +0530, Arvind Yadav wrote: > x86_cpu_id are not supposed to change at runtime. MODULE_DEVICE_TABLE > and x86_match_cpu are working with const x86_cpu_id. So mark the > non-const x86_cpu_id structs as const. > > Signed-off-by: Arvind Yadav Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt