The new exception handling code in 2.1.x gets rid of the need for
verify_area. get_user and put_user can now "detect" memory access
problems. Thus, the new first argument is the variable to assign the
contents of the second memory location to. The return value is the
status of the userspace read.
Here would be the 2.1.x version of that code:
long tmp;
if (get_user(tmp, (long *) arg))
return -EFAULT;
if (tmp)
scsi_cmd[4] = 1;
else
scsi_cmd[4] = 0;
Tom