[lkml]   [2005]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] Atmel-supplied hardware headers for AT91RM9200 SoC processor
hi Alexey,

Thanks for the constructive comments.

> And check for non-NULL data in at91_add_device_usbh() is useless:

There are many more custom AT91RM9200-based boards. That NULL check is
really just there to help the developers when they write their own
board-XX.c file.

> at91_wdt_ioctl() isn't __user annotated. Let alone it is ioctl.

All the other watchdog drivers use ioctl? That is how it's described in

> > + char* command = kmalloc(2, GFP_KERNEL);
> Anyone remembers 1 kmallocated byte?

That command buffer is passed down to the SPI driver, which then DMA's
directly from/to it. We can't DMA to an address on the stack (atleast
not in 2.4 when that driver was written).

Andrew Victor

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-07-08 09:16    [W:0.086 / U:13.328 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site