• S
    spi: Trivial warning fix · 8f53602b
    Shubhrajyoti D 提交于
    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: NShubhrajyoti D <shubhrajyoti@ti.com>
    Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
    8f53602b
spi.h 31.3 KB