Re: [PATCH] hid: Logitech G13 driver 0.0.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mittwoch, 20. Januar 2010 21:47:22 schrieb Rick L. Vinyard Jr.:
> +       if (copy_from_user(dst, buf, count))
> +               err = -EFAULT;
> +
> +       if (!err)
> +               *ppos += count;
> +
> +       g13_fb_update(par);
> +
> +       return (err) ? err : count;

Do you really want to go on if you get -EFAULT?

	Regards
		Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux