Re: [PATCH] ia64: Fix example error_injection_tool

2013-03-28 Thread Xie XiuQi
On 2013/3/29 0:47, Luck, Tony wrote: > Nice catch. > > - mask[j]=1< + mask[j] = (unsigned long)1< > Could use > mask[j] = 1ul << k; > to avoid the verbose cast. Thank you for your suggestion, Tony. I'll modify it in next version. >

RE: [PATCH] ia64: Fix example error_injection_tool

2013-03-28 Thread Luck, Tony
Nice catch. - mask[j]=1

[PATCH] ia64: Fix example error_injection_tool

2013-03-27 Thread Xie XiuQi
I got a "sched_setaffinity:: Invalid argument" error when using err_injection_tool to inject error on a system with over 32 cpus. Error information when injecting an error on a system with over 32 cpus: $ ./err_injection_tool -i /sys/devices/system/cpu/cpu0/err_inject//err_type_info Begine at Tue