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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210930022403.3358070-1-pmalani@chromium.org>
Date:   Wed, 29 Sep 2021 19:23:46 -0700
From:   Prashant Malani <pmalani@...omium.org>
To:     linux-kernel@...r.kernel.org
Cc:     Prashant Malani <pmalani@...omium.org>,
        Benson Leung <bleung@...omium.org>,
        Enric Balletbo i Serra <enric.balletbo@...labora.com>,
        Guenter Roeck <groeck@...omium.org>,
        "Gustavo A. R. Silva" <gustavoars@...nel.org>
Subject: [PATCH 0/5] platform/chrome: Make cros_ec_pd_command() reusable

This is a short series to relocate and rename cros_ec_pd_command() to
cros_ec_proto.c. This function is useful for sending host command
messages, so the 1st 4 patches move it a more central location, and
modify the arguments to allow other users to use it.

The final patch updates cros-ec-typec to use the new function and get
rid of its own copy.

Prashant Malani (5):
  platform/chrome: cros_usbpd_notify: Rename cros_ec_pd_command()
  platform/chrome: cros_usbpd_notify: Move ec_command()
  platform/chrome: cros_ec_proto: Make data pointers void
  platform/chrome: cros_ec_proto: Add version for ec_command
  platform/chrome: cros_ec_typec: Use cros_ec_command()

 drivers/platform/chrome/cros_ec_proto.c     | 48 ++++++++++++++
 drivers/platform/chrome/cros_ec_typec.c     | 69 ++++++---------------
 drivers/platform/chrome/cros_usbpd_notify.c | 50 +--------------
 include/linux/platform_data/cros_ec_proto.h |  3 +
 4 files changed, 72 insertions(+), 98 deletions(-)

-- 
2.33.0.685.g46640cef36-goog

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ