All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Helgaas <bhelgaas@google.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-pci@vger.kernel.org
Subject: Re: [PATCH 04/12] PCI/portdrv: Remove superfluous name cast
Date: Sat, 7 Dec 2013 15:35:57 -0700	[thread overview]
Message-ID: <20131207223557.GA7901@google.com> (raw)
In-Reply-To: <1384283245-9419-5-git-send-email-geert@linux-m68k.org>

On Tue, Nov 12, 2013 at 08:07:17PM +0100, Geert Uytterhoeven wrote:
> device_driver.name is "const char *"
> 
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Cc: Bjorn Helgaas <bhelgaas@google.com>
> Cc: linux-pci@vger.kernel.org

Applied to pci/misc for v3.14, thanks!

> ---
>  drivers/pci/pcie/portdrv_core.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pci/pcie/portdrv_core.c b/drivers/pci/pcie/portdrv_core.c
> index 31063ac30992..833c18c3eb96 100644
> --- a/drivers/pci/pcie/portdrv_core.c
> +++ b/drivers/pci/pcie/portdrv_core.c
> @@ -553,7 +553,7 @@ int pcie_port_service_register(struct pcie_port_service_driver *new)
>  	if (pcie_ports_disabled)
>  		return -ENODEV;
>  
> -	new->driver.name = (char *)new->name;
> +	new->driver.name = new->name;
>  	new->driver.bus = &pcie_port_bus_type;
>  	new->driver.probe = pcie_port_probe_service;
>  	new->driver.remove = pcie_port_remove_service;
> -- 
> 1.7.9.5
> 

  reply	other threads:[~2013-12-07 22:36 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-12 19:07 [PATCH 00/12] Remove superfluous name casts Geert Uytterhoeven
2013-11-12 19:07 ` [PATCH 01/12] powerpc/windfarm: " Geert Uytterhoeven
2013-11-12 19:07   ` Geert Uytterhoeven
2013-11-12 19:07 ` [PATCH 02/12] mtd: " Geert Uytterhoeven
2013-11-12 19:07   ` Geert Uytterhoeven
2013-11-14  1:06   ` Brian Norris
2013-11-14  1:06     ` Brian Norris
2013-11-12 19:07 ` [PATCH 03/12] mtd: pasemi_nand.c: Remove superfluous name cast Geert Uytterhoeven
2013-11-12 19:07   ` Geert Uytterhoeven
2013-11-12 19:12   ` Olof Johansson
2013-11-12 19:12     ` Olof Johansson
2013-11-14  1:08   ` Brian Norris
2013-11-14  1:08     ` Brian Norris
2013-11-12 19:07 ` [PATCH 04/12] PCI/portdrv: " Geert Uytterhoeven
2013-12-07 22:35   ` Bjorn Helgaas [this message]
2013-11-12 19:07 ` [PATCH 05/12] pcmcia: Remove superfluous name casts Geert Uytterhoeven
2013-11-12 19:07 ` [PATCH 06/12] staging: " Geert Uytterhoeven
2013-11-12 19:07 ` [PATCH 07/12] staging: r8188eu: Remove superfluous name cast Geert Uytterhoeven
2013-11-12 19:07 ` [PATCH 08/12] staging: usbip: " Geert Uytterhoeven
2013-11-12 19:07 ` [PATCH 09/12] usb: core: Remove superfluous name casts Geert Uytterhoeven
2013-11-12 19:07 ` [PATCH 10/12] mtd: ms02-nv: Remove superfluous name cast Geert Uytterhoeven
2013-11-12 19:07   ` Geert Uytterhoeven
2013-11-14  1:09   ` Brian Norris
2013-11-14  1:09     ` Brian Norris
2013-11-12 19:07 ` [PATCH 11/12] usb: gadget: Remove superfluous name casts Geert Uytterhoeven
2013-11-12 19:07 ` [PATCH 12/12] usb: host: " Geert Uytterhoeven

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=20131207223557.GA7901@google.com \
    --to=bhelgaas@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.