From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753080AbdF2RIT (ORCPT ); Thu, 29 Jun 2017 13:08:19 -0400 Received: from paleale.coelho.fi ([176.9.41.70]:36190 "EHLO farmhouse.coelho.fi" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752407AbdF2RIM (ORCPT ); Thu, 29 Jun 2017 13:08:12 -0400 Message-ID: <1498756084.22048.143.camel@coelho.fi> From: Luca Coelho To: Bhumika Goyal , julia.lawall@lip6.fr, johannes.berg@intel.com, emmanuel.grumbach@intel.com, linuxwifi@intel.com, kvalo@codeaurora.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 29 Jun 2017 20:08:04 +0300 In-Reply-To: <1498650587.22048.110.camel@coelho.fi> References: <1498034442-17664-1-git-send-email-bhumirks@gmail.com> <1498650587.22048.110.camel@coelho.fi> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 91.156.4.241 X-SA-Exim-Mail-From: luca@coelho.fi Subject: Re: [PATCH] iwlwifi: mvm: add const to thermal_cooling_device_ops structure X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on farmhouse.coelho.fi) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2017-06-28 at 14:49 +0300, Luca Coelho wrote: > On Wed, 2017-06-21 at 14:10 +0530, Bhumika Goyal wrote: > > Declare thermal_cooling_device_ops structure as const as it is only passed > > as an argument to the function thermal_cooling_device_register and this > > argument is of type const. So, declare the structure as const. > > > > Signed-off-by: Bhumika Goyal > > --- > > Thanks, we're reviewing this internally. It looks fine, but I need to > assess whether this will have any impacts in our backports project > before we can apply it. This has been applied in our internal tree and will eventually land in the mainline. Thanks! -- Cheers, Luca.