Re: [PATCH] This is the security processor driver for the Intelmid platform

From: Pavel Machek
Date: Fri Jul 10 2009 - 08:07:20 EST



> + *
> + * CHANGES:
> + *
> + * 2009.06.26 Initial publish
> + *
> + */

No changelogs in source files, please...

> +
> + /* start address of resident */

Eh?

> + unsigned long message_size_in_words;
> +
> +};

> +struct sep_driver_realloc_cache_resident_t {
> + /* base address */
> + unsigned long base_addr;

Most useless comment, ever.

> + /* cache size in bytes*/
> + unsigned long cache_size_in_bytes;

...and more.

> + /* new resident address */
> + unsigned long new_resident_addr;
> +
> + /* new resident address */
> + unsigned long new_shared_area_addr;

Ouch. Copy & paste error?

> + /* new base address */
> + unsigned long new_base_addr;

Did they tell you you have to document it, so you did? Bad comments
are worse than no comments...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/