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]
Date: Sun, 18 Feb 2024 16:18:08 -0300
From: "Ricardo B. Marliere" <ricardo@...liere.net>
To: Heikki Krogerus <heikki.krogerus@...ux.intel.com>, 
 Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org, 
 "Ricardo B. Marliere" <ricardo@...liere.net>
Subject: [PATCH 0/4] usb: constify struct device_type usage

This is a simple and straight forward cleanup series that makes all device
types in the net subsystem constants. This has been possible since 2011 [1]
but not all occurrences were cleaned.

---
[1] https://lore.kernel.org/all/1305850262-9575-5-git-send-email-gregkh@suse.de/

Signed-off-by: Ricardo B. Marliere <ricardo@...liere.net>

---
Ricardo B. Marliere (4):
      usb: typec: constify the struct device_type usage
      usb: phy: constify the struct device_type usage
      usb: gadget: constify the struct device_type usage
      usb: core: constify the struct device_type usage

 drivers/usb/core/endpoint.c           |  2 +-
 drivers/usb/core/message.c            |  2 +-
 drivers/usb/core/port.c               |  2 +-
 drivers/usb/core/usb.c                |  2 +-
 drivers/usb/core/usb.h                |  8 ++++----
 drivers/usb/gadget/function/u_ether.c |  2 +-
 drivers/usb/phy/phy.c                 |  2 +-
 drivers/usb/typec/pd.c                | 30 +++++++++++++++---------------
 8 files changed, 25 insertions(+), 25 deletions(-)
---
base-commit: cf92b9df3dcf45eab0fe3fcf9e97ce55c31c48c0
change-id: 20240218-device_cleanup-usb-98fac2ef0160

Best regards,
-- 
Ricardo B. Marliere <ricardo@...liere.net>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ