Re: [PATCH] input: spi: Driver for SPI data stream driven vibrator

From: Alan Cox
Date: Sun Nov 07 2010 - 18:53:35 EST



> + datalen = p->custom_len * sizeof(p->custom_data[0]);

signed

> + if (datalen > MAX_EFFECT_SIZE) {

unsigned

> + memcpy(einfo->buf, p->custom_data, datalen);

ungood


--
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/