Re: [PATCH] ehca: fix kthread_create() error check

2006-12-21 Thread Heiko Carstens
> Index: 2.6-mm/drivers/infiniband/hw/ehca/ehca_irq.c > === > --- 2.6-mm.orig/drivers/infiniband/hw/ehca/ehca_irq.c > +++ 2.6-mm/drivers/infiniband/hw/ehca/ehca_irq.c > @@ -670,11 +670,13 @@ static int comp_pool_callback(struct not >

Re: [PATCH] ehca: fix kthread_create() error check

2006-12-19 Thread Hoang-Nam Nguyen
Hi, > The return value of kthread_create() should be checked by > IS_ERR(). create_comp_task() returns the return value from > kthread_create(). Good catch. Appreciate your help! Regards Nam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAI

[PATCH] ehca: fix kthread_create() error check

2006-12-19 Thread Akinobu Mita
The return value of kthread_create() should be checked by IS_ERR(). create_comp_task() returns the return value from kthread_create(). Cc: Hoang-Nam Nguyen <[EMAIL PROTECTED]> Cc: Christoph Raisch <[EMAIL PROTECTED]> Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]> --- drivers/infiniband/hw/ehca/