s390/cio: use cssid for pgid generation
Quoted 6 lines · Sebastian Ott
Hello Dan,
Quoted 3 lines · Dan Carpenter
The patch
c8500e120b81: "s390/cio: use cssid for pgid generation" from Jun 17, 2016, leads to the following static checker warning:
Quoted 9 lines
Quoted 3 lines
drivers/s390/cio/css.c:707 css_generate_pgid() warn: impossible condition '(css->cssid < 0) => (0-255 < 0)'Thanks for your report. This issue was already known and should be fixed by now. What's puzzling me, is that
c8500e120b81actually is the fixed version where cssid is a signed int. So with commitc8500e120b81you should no longer see this warning.
Huh. You're right. I didn't read the code carefully... :/ Sorry for the noise.
I'm not sure how this error was generated either because I can't reproduce it today.
regards,
dan carpenter