On Thu, 6 Mar 2014, Andrew Morton wrote: > On Thu, 06 Mar 2014 22:48:11 +0800 kbuild test robot > <fengguang.wu@xxxxxxxxx> wrote: > This has me stumped - the same code > > p = __this_cpu_read(current_kprobe); > > works OK elsewhere in that file. I'm suspecting a miscompile - it's > not unknown for gcc to screw up when we use this trick. > > I can reproduce it with gcc-3.4.5 for sh. This is again the autoconversion not applying because current_kprobe is probably a pointer. __bad_size_call_parameter is failure because reads from structures larger than word size are not supported. p = this_cpu_ptr(¤t_kprobe); would fix it. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>