From: James Cross The RAW_GETBIND compatibility ioctl call does convert properly between the 32bit/64bit version of raw_config_request due to a trivial error, and the ioctl call fails. --- fs/compat_ioctl.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN fs/compat_ioctl.c~RAW_GETBIND-compat_ioctl-fix fs/compat_ioctl.c --- 25/fs/compat_ioctl.c~RAW_GETBIND-compat_ioctl-fix 2004-01-22 00:55:57.000000000 -0800 +++ 25-akpm/fs/compat_ioctl.c 2004-01-22 00:55:57.000000000 -0800 @@ -2428,7 +2428,7 @@ static int get_raw32_request(struct raw_ __get_user(hi_min, ((__u32*)(&user_req->block_minor) + 1)); req->block_major = lo_maj | (((__u64)hi_maj) << 32); - req->block_minor = lo_min | (((__u64)lo_min) << 32); + req->block_minor = lo_min | (((__u64)hi_min) << 32); return ret; } _