spi: Trivial warning fix
authorShubhrajyoti D <shubhrajyoti@ti.com>
Mon, 27 Feb 2012 13:59:05 +0000 (19:29 +0530)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 9 Mar 2012 17:56:10 +0000 (10:56 -0700)
commit8f53602be555e500cfcd957955bb40fac19f2a6b
tree66ae924690cd01f7cd4a217a5c4f9ddeae085c26
parentd1c8bbd793e4c2f346f8788ad312f5b5b530aff5
spi: Trivial warning fix

The loop count i traverses for ntrans which is unsigned
so make the loop count i also unsigned.

Fix the below warning
In file included from drivers/spi/spi-omap2-mcspi.c:38:
include/linux/spi/spi.h: In function 'spi_message_alloc':
include/linux/spi/spi.h:556: warning: comparison between signed and unsigned integer expressions

Cc: Vitaly Wool <vwool@ru.mvista.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
include/linux/spi/spi.h
This page took 0.024537 seconds and 5 git commands to generate.