Watchdog detected hard LOCKUP on cpu

2013-08-13 Thread Martin Stoilov
Encountered this while building custom embedded distribution with the yocto project build system. This has never happened before for me, but google search showed quite a few similar reports. Aug 13 15:42:12 quadpc kernel: [263676.682558] [ cut here ] Aug 13 15:42:12 qua

[PATCH] kobject: kobj->k_name verification fix

2006-12-29 Thread Martin Stoilov
} because this would've made the intention clear, in this patch I just restore the missing '*' without changing the coding style of the function. It looks like thunderbird client replaces the tabs with spaces even if I say 'paste without formatting'. Don't

Re: kobject_add unreachable code

2006-12-29 Thread Martin Stoilov
Martin Stoilov wrote: > Olaf Dietsche wrote: > >> Martin Stoilov <[EMAIL PROTECTED]> writes: >> >> >> >>> The following code in kobject_add >>> if (!kobj->k_name) >>> kobj->k_name = kobj->name; &g

Re: kobject_add unreachable code

2006-12-29 Thread Martin Stoilov
Olaf Dietsche wrote: > Martin Stoilov <[EMAIL PROTECTED]> writes: > > >> The following code in kobject_add >> if (!kobj->k_name) >> kobj->k_name = kobj->name; >> if (!kobj->k_name) { >> pr_debug("kobject atte

kobject_add unreachable code

2006-12-28 Thread Martin Stoilov
The following code in kobject_add if (!kobj->k_name) kobj->k_name = kobj->name; if (!kobj->k_name) { pr_debug("kobject attempted to be registered with no name!\n"); WARN_ON(1); return -EINVAL; } doesn't look right to me. The second 'if' statement looks u