• Cornelia Huck's avatar
    [S390] cio: Fix sparse warnings in blacklist.c. · 12829126
    Cornelia Huck authored
    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: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    12829126
blacklist.c 8.28 KB