History

[PATCH] mtd: 64 bit fixes

Fix some bugs in mtd/jffs2 on 64bit platform. The MEMGETBADBLOCK/MEMSETBADBLOCK ioctl are not listed in compat_ioctl.h. And some variables in jffs2 are declared as uint32_t but used to hold size_t values.

Atsushi Nemoto committed 20 years ago

Commit 0ef675d1 parent eff2c2f3 files · +5 −2Browse files

Showing the changes to include (1 of 3 files). Show all

Unified · Split

include/linux/compat_ioctl.h+2−0
@@ -696,6 +696,8 @@ COMPATIBLE_IOCTL(MEMLOCK) · 695 unmodified lines
696696 COMPATIBLE_IOCTL(MEMUNLOCK)
697697 COMPATIBLE_IOCTL(MEMGETREGIONCOUNT)
698698 COMPATIBLE_IOCTL(MEMGETREGIONINFO)
699+COMPATIBLE_IOCTL(MEMGETBADBLOCK)
700+COMPATIBLE_IOCTL(MEMSETBADBLOCK)
699701 /* NBD */
700702 ULONG_IOCTL(NBD_SET_SOCK)
701703 ULONG_IOCTL(NBD_SET_BLKSIZE)