kernel/arch/mips/include/asm/termios.h
.. .. @@ -32,7 +32,7 @@ 32 32 unsigned short iflag, oflag, cflag, lflag; 33 33 unsigned int err; 34 34 35 - if (!access_ok(VERIFY_READ, termio, sizeof(struct termio)))35 + if (!access_ok(termio, sizeof(struct termio)))36 36 return -EFAULT; 37 37 38 38 err = __get_user(iflag, &termio->c_iflag); .. .. @@ -61,7 +61,7 @@ 61 61 { 62 62 int err; 63 63 64 - if (!access_ok(VERIFY_WRITE, termio, sizeof(struct termio)))64 + if (!access_ok(termio, sizeof(struct termio)))65 65 return -EFAULT; 66 66 67 67 err = __put_user(termios->c_iflag, &termio->c_iflag);