unaligned.c报错

unsigned long val=3;
printk("*val = %x/r/n",&val);
这样就会出现unaligned报错,因为未4字节对齐

你可能感兴趣的:(unaligned.c报错)