[Suggestion] kernel/irqdesc.c: not checking whether failure occurs for alloc_desc() in early_irq_init().

2013-05-14 Thread Chen Gang
Hello Maintainers: For early_irq_init(), it may be failure (can return an error code), and for alloc_desc(), also may return 'NULL' when '-ENOMEM'. But it seems the authors are sure that early_irq_init() are always success, is it correct ? (or early_irq_init() will never be used ?) I think, it

[Suggestion] kernel/irqdesc.c: not checking whether failure occurs for alloc_desc() in early_irq_init().

2013-05-14 Thread Chen Gang
Hello Maintainers: For early_irq_init(), it may be failure (can return an error code), and for alloc_desc(), also may return 'NULL' when '-ENOMEM'. But it seems the authors are sure that early_irq_init() are always success, is it correct ? (or early_irq_init() will never be used ?) I think, it