lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200125012105.59903-1-pmalani@chromium.org>
Date:   Fri, 24 Jan 2020 17:21:01 -0800
From:   Prashant Malani <pmalani@...omium.org>
To:     enric.balletbo@...labora.com, bleung@...omium.org
Cc:     linux-kernel@...r.kernel.org,
        Prashant Malani <pmalani@...omium.org>
Subject: [PATCH 0/4] Factor out cmd_xfer_status() setup code

Many callers of cros_ec_cmd_xfer_status() use similar setup and cleanup
code, including setting up the cros_ec_command message struct and
copying the received buffer.

This series introduces a wrapper function that performs this setup and
teardown, and then updates some places in platform/chrome to use the new
wrapper.

Prashant Malani (4):
  platform/chrome: Add EC command msg wrapper
  platform/chrome: Make chardev use send_cmd_msg
  platform/chrome: Use send_cmd_msg in debugfs
  platform/chrome: Make check_features() use wrapper

 drivers/platform/chrome/cros_ec_chardev.c   | 33 ++++------
 drivers/platform/chrome/cros_ec_debugfs.c   | 39 ++++-------
 drivers/platform/chrome/cros_ec_proto.c     | 73 ++++++++++++++++-----
 include/linux/platform_data/cros_ec_proto.h |  5 ++
 4 files changed, 86 insertions(+), 64 deletions(-)

-- 
2.25.0.341.g760bfbb309-goog

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ