Re: [PATCH 1/2] Export firmware assigned labels of network devices to sysfs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg KH
Date: Friday, May 28, 2010 - 8:40 am

On Fri, May 28, 2010 at 06:55:21AM -0500, K, Narendra wrote:

Note that only members of the PCI-SIG can do this, which pretty much
rules out any "normal" Linux kernel developer :(

Care to post a public version of this for us to review?

This line is not needed, we know the file name :)


Why is this file in include/linux/ ?  Who needs it there?  Can't it just
be in in the drivers/pci/ directory?  Actually all you need is 2
functions in there, so it could go into the internal pci.h file in that
directory without a problem, right?


Can't you just put "label" as the name?


Um, a dell specific uuid in a generic file?  What happens when we need
to support another manufacturer?


EXPORT_SYMBOL_GPL?

Wait, why does this need to be exported at all?  What module is ever
going to call this function?


Same here, what module will call this?


As discussed above, this whole file does not need to exist.


Just put these two functions in the drivers/pci/pci.h file.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/2] Export firmware assigned labels of network ..., Greg KH, (Fri May 28, 8:40 am)