Re: [patch 4/6] pci: constify pci_bus_add_devices()

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

 



On Fri, 13 Feb 2009 14:50:56 -0700
Alex Chiang <achiang@xxxxxx> wrote:

> * akpm@xxxxxxxxxxxxxxxxxxxx <akpm@xxxxxxxxxxxxxxxxxxxx>:
> > From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> > 
> > drivers/pci/hotplug/fakephp.c:283: warning: passing argument 1
> > of 'pci_bus_add_devices' discards qualifiers from pointer
> > target type
> 
> Can we live with this warning for another cycle or two?
> 
> I was going to fix up fakephp to eliminate this warning, but then
> decided, "what's the point" since I plan on replacing it
> wholesale anyway.

Well, the patch is written and tested.  And constifying those functions
is a good thing anyway - it makes them more useful to callers.
--
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