Re: [PATCH] Intel Management Engine Interface

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Anas Nashif <nashif@...>
Cc: Andrew Morton <akpm@...>, <linux-kernel@...>
Date: Tuesday, May 20, 2008 - 6:27 pm

On 05/20/2008 02:11 AM, Anas Nashif wrote:
[...]

Who sets this config up?

[...]
[...]

return wait_event_interruptible_timeout();

[...]

wrong memset


same here

[...]

setup_timer?

[...]

not a good name.

[...]

no need to init them

[...]
[...]

So just BUG();


ditto


again?

[...]
[...]

'H'     all     linux/hiddev.h

add


struct heci_message_data is not 32/64-bit friendly
_IOC_NRBITS is 8, 0x800 is far higher than that

[...]
[...]

we know that, comment unneeded


so why not bool?

[...]

PCI_VDEVICE?

[...]

__devexit_p()


you'll trigger remove twice, I think.


define them as null on !PM to avoid these ifdefs.

[...]

do not init ret


no need to re-set


why?


the format is:
(* @parameterx(space)*: (description of parameter x)?)*

[...]

device_create

[...]

just one minor? why not misc_register?

[...]

This can be built tristate, right? What if THIS_MODULE is 0.

Use dev_* prints anyway.


not needed, if heci_initialize_clients called setup_timer

[...]

What is the retval for?


PCI posting?

[...]

iminor?


no need to 'else' here


...

[...]

->unlocked_ioctl

[...]

no device irq disabling?


so why do you need the copy of an irq?

[...]
[...]

hmm, __stringify()


not good macro names at all

[...]

this is racy with bh?


some ratelimit?

[...]

racy with hardirq?

[...]

Sorry, what?


list_move_tail?


...

[...]

just return <the_condition>;


BUG()

[...]

...
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Intel Management Engine Interface, Anas Nashif, (Mon May 19, 8:11 pm)
Re: [PATCH] Intel Management Engine Interface, Pavel Machek, (Fri May 23, 3:04 am)
Re: [PATCH] Intel Management Engine Interface, Jiri Slaby, (Tue May 20, 6:27 pm)
Re: [PATCH] Intel Management Engine Interface, Carlos R. Mafra, (Tue May 20, 4:35 pm)
Re: [PATCH] Intel Management Engine Interface, Maxim Levitsky, (Tue May 20, 11:42 am)
Re: [PATCH] Intel Management Engine Interface, Andrew Morton, (Mon May 19, 8:28 pm)
Re: [PATCH] Intel Management Engine Interface, Pavel Machek, (Thu May 22, 12:51 pm)
Re: [PATCH] Intel Management Engine Interface, Gabriel C, (Tue May 20, 3:02 pm)