Re: [PATCH] i8k: fix ioctl handing (was Re: Linux 3.3-rc5)

From: Linus Torvalds
Date: Thu Mar 01 2012 - 22:26:14 EST


On Thu, Mar 1, 2012 at 7:26 AM, Mark Lord <kernel@xxxxxxxxxxxx> wrote:
>
> I'm still not 100% happy with the arg/argp passing to i8ki_unlocked_ioctl() though.
> Shouldn't there be a compat_ptr() macro in there someplace?

Yes, I think you should have "compat_ptr(arg)" there.

Patch looks good. And perhaps i8k_get_bios_version() should be renamed
to "i8k_get_smm_bios_version()" to not cause this crazy confusion
again.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/