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


Groups > linux.kernel > #1711907 > unrolled thread

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

Started byBenson Leung <bleung@google.com>
First post2017-08-15 09:00 +0200
Last post2017-08-15 09:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#1711907 — Re: [PATCH] platform/chrome: chromeos_laptop: make chromeos_laptop const

FromBenson Leung <bleung@google.com>
Date2017-08-15 09:00 +0200
SubjectRe: [PATCH] platform/chrome: chromeos_laptop: make chromeos_laptop const
Message-ID<ueDZw-6mv-1@gated-at.bofh.it>

[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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web