From: Johan Hovold <johan@kernel.org>
To: Corentin Labbe <clabbe@baylibre.com>
Cc: balbi@kernel.org, alexandre.belloni@bootlin.com,
mathias.nyman@intel.com, gregkh@linuxfoundation.org,
linux-usb@vger.kernel.org, vz@mleia.com,
ludovic.desroches@microchip.com, stern@rowland.harvard.edu,
linux-arm-kernel@lists.infradead.org, slemieux.tyco@gmail.com,
b-liu@ti.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 00/20] usb: remove useless cast for driver.name
Date: Wed, 19 Feb 2020 08:52:47 +0100 [thread overview]
Message-ID: <20200219075247.GE2090@localhost> (raw)
In-Reply-To: <1582054383-35760-1-git-send-email-clabbe@baylibre.com>
On Tue, Feb 18, 2020 at 07:32:43PM +0000, Corentin Labbe wrote:
> This serie remove a useless (char*) cast for some xxx_driver.name.
> pci_driver, device_driver, usb_composite_driver structures have a "name"
> member which is const char * and all the driver patched assigned to it a
> const char[] name, so the cast was bad and unnecessary.
>
> Corentin Labbe (20):
> usb: gadget: legacy: gmidi: remove useless cast for driver.name
> usb: gadget: legacy: inode: remove useless cast for driver.name
> usb: gadget: udc: amd5536udc_pci: remove useless cast for driver.name
> usb: gadget: at91_udc: remove useless cast for driver.name
> usb: gadget: dummy_hcd: remove useless cast for driver.name
> usb: gadget: fotg210-udc: remove useless cast for driver.name
> usb: gadget: fusb300_udc: remove useless cast for driver.name
> usb: gadget: goku_udc: remove useless cast for driver.name
> usb: gadget: lpc32xx_udc: remove useless cast for driver.name
> usb: gadget: m66592-udc: remove useless cast for driver.name
> usb: gadget: net2280: remove useless cast for driver.name
> usb: gadget: omap_udc: remove useless cast for driver.name
> usb: gadget: r8a66597-udc: remove useless cast for driver.name
> usb: gadget: renesas_usb3: remove useless cast for driver.name
> usb: host: ehci-pci: remove useless cast for driver.name
> usb: host: ohci-pci: remove useless cast for driver.name
> usb: host: sl811-hcd: remove useless cast for driver.name
> usb: host: uhci-pci: remove useless cast for driver.name
> usb: host: xhci-pci: remove useless cast for driver.name
> usb: musb: core: remove useless cast for driver.name
Please do trivial conversions like this one in one patch per subsystem
(e.g. all of USB) instead of 20 one-line patches.
You may also want to refer to commit 8d790d740858 ("[PATCH] make
driver's name be const char *") for the historical background for this
in the commit message.
> drivers/usb/gadget/legacy/gmidi.c | 2 +-
> drivers/usb/gadget/legacy/inode.c | 2 +-
> drivers/usb/gadget/udc/amd5536udc_pci.c | 2 +-
> drivers/usb/gadget/udc/at91_udc.c | 2 +-
> drivers/usb/gadget/udc/dummy_hcd.c | 4 ++--
> drivers/usb/gadget/udc/fotg210-udc.c | 2 +-
> drivers/usb/gadget/udc/fusb300_udc.c | 2 +-
> drivers/usb/gadget/udc/goku_udc.c | 2 +-
> drivers/usb/gadget/udc/lpc32xx_udc.c | 2 +-
> drivers/usb/gadget/udc/m66592-udc.c | 2 +-
> drivers/usb/gadget/udc/net2280.c | 2 +-
> drivers/usb/gadget/udc/omap_udc.c | 2 +-
> drivers/usb/gadget/udc/r8a66597-udc.c | 2 +-
> drivers/usb/gadget/udc/renesas_usb3.c | 2 +-
> drivers/usb/host/ehci-pci.c | 2 +-
> drivers/usb/host/ohci-pci.c | 2 +-
> drivers/usb/host/sl811-hcd.c | 2 +-
> drivers/usb/host/uhci-pci.c | 2 +-
> drivers/usb/host/xhci-pci.c | 2 +-
> drivers/usb/musb/musb_core.c | 2 +-
> 20 files changed, 21 insertions(+), 21 deletions(-)
Thanks,
Johan
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
prev parent reply other threads:[~2020-02-19 7:53 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-18 19:32 [PATCH 00/20] usb: remove useless cast for driver.name Corentin Labbe
2020-02-18 19:32 ` [PATCH 01/20] usb: gadget: legacy: gmidi: " Corentin Labbe
2020-02-18 19:32 ` [PATCH 02/20] usb: gadget: legacy: inode: " Corentin Labbe
2020-02-18 19:32 ` [PATCH 03/20] usb: gadget: udc: amd5536udc_pci: " Corentin Labbe
2020-02-18 19:32 ` [PATCH 04/20] usb: gadget: at91_udc: " Corentin Labbe
2020-02-18 19:40 ` Alexandre Belloni
2020-02-18 19:32 ` [PATCH 05/20] usb: gadget: dummy_hcd: " Corentin Labbe
2020-02-18 19:32 ` [PATCH 06/20] usb: gadget: fotg210-udc: " Corentin Labbe
2020-02-18 19:32 ` [PATCH 07/20] usb: gadget: fusb300_udc: " Corentin Labbe
2020-02-18 19:32 ` [PATCH 08/20] usb: gadget: goku_udc: " Corentin Labbe
2020-02-18 19:32 ` [PATCH 09/20] usb: gadget: lpc32xx_udc: " Corentin Labbe
2020-02-18 19:41 ` Alexandre Belloni
2020-02-18 19:32 ` [PATCH 10/20] usb: gadget: m66592-udc: " Corentin Labbe
2020-02-18 19:32 ` [PATCH 11/20] usb: gadget: net2280: " Corentin Labbe
2020-02-18 19:32 ` [PATCH 12/20] usb: gadget: omap_udc: " Corentin Labbe
2020-02-18 19:32 ` [PATCH 13/20] usb: gadget: r8a66597-udc: " Corentin Labbe
2020-02-19 0:43 ` Yoshihiro Shimoda
2020-02-18 19:32 ` [PATCH 14/20] usb: gadget: renesas_usb3: " Corentin Labbe
2020-02-19 0:33 ` Yoshihiro Shimoda
2020-02-18 19:32 ` [PATCH 15/20] usb: host: ehci-pci: " Corentin Labbe
2020-02-18 19:32 ` [PATCH 16/20] usb: host: ohci-pci: " Corentin Labbe
2020-02-18 19:33 ` [PATCH 17/20] usb: host: sl811-hcd: " Corentin Labbe
2020-02-18 19:33 ` [PATCH 18/20] usb: host: uhci-pci: " Corentin Labbe
2020-02-18 19:33 ` [PATCH 19/20] usb: host: xhci-pci: " Corentin Labbe
2020-02-18 19:33 ` [PATCH 20/20] usb: musb: core: " Corentin Labbe
2020-02-19 7:52 ` Johan Hovold [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200219075247.GE2090@localhost \
--to=johan@kernel.org \
--cc=alexandre.belloni@bootlin.com \
--cc=b-liu@ti.com \
--cc=balbi@kernel.org \
--cc=clabbe@baylibre.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=ludovic.desroches@microchip.com \
--cc=mathias.nyman@intel.com \
--cc=slemieux.tyco@gmail.com \
--cc=stern@rowland.harvard.edu \
--cc=vz@mleia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).