Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 345833 | Differences between
and this patch

Collapse All | Expand All

(-)drivers/staging/lirc/lirc_serial.c (-1 / +1 lines)
Lines 966-972 Link Here
966
	if (n % sizeof(int) || count % 2 == 0)
966
	if (n % sizeof(int) || count % 2 == 0)
967
		return -EINVAL;
967
		return -EINVAL;
968
	wbuf = memdup_user(buf, n);
968
	wbuf = memdup_user(buf, n);
969
	if (PTR_ERR(wbuf))
969
	if (IS_ERR(wbuf))
970
		return PTR_ERR(wbuf);
970
		return PTR_ERR(wbuf);
971
	spin_lock_irqsave(&hardware[type].lock, flags);
971
	spin_lock_irqsave(&hardware[type].lock, flags);
972
	if (type == LIRC_IRDEO) {
972
	if (type == LIRC_IRDEO) {

Return to bug 345833