lkml.org 
[lkml]   [2010]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] input: spi: Driver for SPI data stream driven vibrator

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

signed

> + if (datalen > MAX_EFFECT_SIZE) {

unsigned

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

ungood




\
 
 \ /
  Last update: 2010-11-08 00:55    [from the cache]
©2003-2011 Jasper Spaans