the smem_start in fb_fix_screeninfo is unsigned long type, you should use %lu instead %d in printf for unsigned long. Don't you notice the value of smem_start in your output is a negative number? :)
Thank you very much.It's my pleasure for pointing out my mistake.I will modify it as soon as possible.If I get it wrong in the future,I am extremely supposed to notify me.Thanks again.
the
smem_start
infb_fix_screeninfo
isunsigned long
type, you should use%lu
instead%d
inprintf
forunsigned long
. Don't you notice the value ofsmem_start
in your output is a negative number? :)