[Ocfs2-devel] endian bug?
Mark Fasheh
mark.fasheh at oracle.com
Fri Feb 29 13:39:37 PST 2008
Compiling with sparse today, I get:
fs/ocfs2/resize.c:600:16: warning: cast to restricted type
fs/ocfs2/resize.c:600:14: warning: incorrect type in assignment (different
base types)
fs/ocfs2/resize.c:600:14: expected restricted unsigned long long
[usertype] c_blkno
fs/ocfs2/resize.c:600:14: got unsigned long long [unsigned] [usertype]
<noident>
Which in my tree is:
cr->c_blkno = le64_to_cpu(input->group);
where 'cr' is of type 'ocfs2_chain_rec'... This looks wrong to me, would you
care to verify (and send a patch)?
--Mark
--
Mark Fasheh
Principal Software Developer, Oracle
mark.fasheh at oracle.com
More information about the Ocfs2-devel
mailing list