Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1711907

Re: [PATCH] platform/chrome: chromeos_laptop: make chromeos_laptop const

From Benson Leung <bleung@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH] platform/chrome: chromeos_laptop: make chromeos_laptop const
Date 2017-08-15 09:00 +0200
Message-ID <ueDZw-6mv-1@gated-at.bofh.it> (permalink)
References <ub2D7-2qa-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Bhumika,


On Sat, Aug 05, 2017 at 01:50:42PM +0530, Bhumika Goyal wrote:
> Declare chromeos_laptop structures as const as they are only used during
> a copy operation. As their value is never modified during runtime, they
> can be made const.
> 
> Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>

Applied. Thanks for the patch!

Benson

-- 
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
bleung@google.com
Chromium OS Project
bleung@chromium.org

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] platform/chrome: chromeos_laptop: make chromeos_laptop  const Benson Leung <bleung@google.com> - 2017-08-15 09:00 +0200

csiph-web