• C
    [S390] cio: Fix sparse warnings in blacklist.c. · 12829126
    Cornelia Huck 提交于
    sparse complains about signedness:
    
    drivers/s390/cio/blacklist.c:132:28: warning: incorrect type in
    argument 2 (different signedness)
    drivers/s390/cio/blacklist.c:132:28:    expected unsigned int *val
    drivers/s390/cio/blacklist.c:132:28:    got int *cssid
    drivers/s390/cio/blacklist.c:136:28: warning: incorrect type in
    argument 2 (different signedness)
    drivers/s390/cio/blacklist.c:136:28:    expected unsigned int *val
    drivers/s390/cio/blacklist.c:136:28:    got int *ssid
    drivers/s390/cio/blacklist.c:140:28: warning: incorrect type in
    argument 2 (different signedness)
    drivers/s390/cio/blacklist.c:140:28:    expected unsigned int *val
    drivers/s390/cio/blacklist.c:140:28:    got int *devno
    
    cssid, ssid and devno are of course unsigned, so let's make the
    variables unsigned as well.
    Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
    Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
    12829126
blacklist.c 8.3 KB