Re: [PATCH] include/linux/pci.h: Make struct pci_driver.name const char *

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 09 Sep 2010 00:38:04 -0700
Joe Perches <joe@xxxxxxxxxxx> wrote:

> As far as I can tell, name is never modified.
> 
> This would allow names to be assigned
> from variables in non-writable sections.
> 
> static const foo[] = "bar";
> 
> struct pci_driver baz = {
> 	.name = foo;
> };
> 
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> ---

I already sent same patch to Jesse
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux