Re: [PATCH 1/2] Add /sys/firmware/memmap

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg KH
Date: Thursday, June 26, 2008 - 3:24 pm

On Thu, Jun 26, 2008 at 10:19:01PM +0200, Bernhard Walle wrote:

Please provide new entries in Documentation/ABI/ for these new sysfs
files with all of this information.


Should this be static?


Where is the kobject initialized properly?

Ah, later on, that's scary...


Do you really need your own kobj_type here?  What you want is just a
directory, and some attributes assigned to the kobject, can't you use
the default kobject attributes for them?

I'm not saying this is incorrect, it looks implemented properly, just
curious.


So the list is supposed to be set up before this function is called?  Is
that because of early boot issues?

You should document this somehow.


Does this really need to be in the .h file?

thanks,

greg k-h
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
x86: Add /sys/firmware/memmap, Bernhard Walle, (Thu Jun 26, 1:19 pm)
[PATCH 1/2] Add /sys/firmware/memmap, Bernhard Walle, (Thu Jun 26, 1:19 pm)
[PATCH 2/2] Use FIRMWARE_MEMMAP on x86/E820, Bernhard Walle, (Thu Jun 26, 1:19 pm)
Re: [PATCH 1/2] Add /sys/firmware/memmap, Vivek Goyal, (Thu Jun 26, 1:45 pm)
Re: [PATCH 2/2] Use FIRMWARE_MEMMAP on x86/E820, Yinghai Lu, (Thu Jun 26, 1:54 pm)
Re: [PATCH 1/2] Add /sys/firmware/memmap, Greg KH, (Thu Jun 26, 3:24 pm)
Re: [PATCH 1/2] Add /sys/firmware/memmap, Bernhard Walle, (Fri Jun 27, 4:08 am)
Re: [PATCH 2/2] Use FIRMWARE_MEMMAP on x86/E820, Bernhard Walle, (Fri Jun 27, 4:14 am)
Re: [PATCH 2/2] Use FIRMWARE_MEMMAP on x86/E820, Yinghai Lu, (Fri Jun 27, 11:31 am)