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


Groups > linux.kernel > #1730498 > unrolled thread

Re: [PATCH v2 8/8] platform/chrome: cros_ec: sysfs: Modify error handling

Started byBenson Leung <bleung@google.com>
First post2017-09-11 21:50 +0200
Last post2017-09-11 21:50 +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 v2 8/8] platform/chrome: cros_ec: sysfs: Modify error  handling Benson Leung <bleung@google.com> - 2017-09-11 21:50 +0200

#1730498 — Re: [PATCH v2 8/8] platform/chrome: cros_ec: sysfs: Modify error handling

FromBenson Leung <bleung@google.com>
Date2017-09-11 21:50 +0200
SubjectRe: [PATCH v2 8/8] platform/chrome: cros_ec: sysfs: Modify error handling
Message-ID<uoCSt-7IE-13@gated-at.bofh.it>

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

Hi Thierry,

On Fri, Aug 11, 2017 at 04:23:05PM +0200, Thierry Escande wrote:
> From: Gwendal Grignou <gwendal@chromium.org>
> 
> When accessing a sysfs attribute, if the EC command fails, -EPROTO is
> now returned instead of an error message as it is unlikely an app is
> parsing the error message to do something meaningful.
> Also, this patch makes use of cros_ec_cmd_xfer_status() instead of
> cros_ec_cmd_xfer() so an error message is printed in the syslog.
> 
> Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
> Signed-off-by: Thierry Escande <thierry.escande@collabora.com>

Looks good. Applied.

-- 
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