console stuck

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I m very much confused as to why there is an infinite loop in the
__request_resource function in the linux/kernel/resource.c file?

The serial console is getting stuck at this point.

> for (;;) {
>                 tmp = *p;
>                 if (!tmp || tmp->start > end) {
>                         new->sibling = tmp;
>                         *p = new;
>                         new->parent = root;
>                         return NULL;
>                 }
>                 p = &tmp->sibling;
>                 if (tmp->end < start){
>                         printk("tmp->end = %d\n",tmp->end);
>                         printk("tmp->start = %d\n",tmp->start);
>                         printk("*********!!!!!!!*******sibling?!!\n");
>                         continue;
>                 }
>                 return tmp;

Thanks and Regards,
Ashlesha.



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux