Commit c6ca1850 authored by Martin Schwidefsky's avatar Martin Schwidefsky

[S390] s390mach compile warning

Fix the following compile warning:

drivers/s390/s390mach.c: In function 's390_collect_crw_info':
drivers/s390/s390mach.c:77: warning: ignoring return value of 'down_interruptibl
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 5b890987
...@@ -48,10 +48,11 @@ s390_collect_crw_info(void *param) ...@@ -48,10 +48,11 @@ s390_collect_crw_info(void *param)
int ccode; int ccode;
struct semaphore *sem; struct semaphore *sem;
unsigned int chain; unsigned int chain;
int ignore;
sem = (struct semaphore *)param; sem = (struct semaphore *)param;
repeat: repeat:
down_interruptible(sem); ignore = down_interruptible(sem);
chain = 0; chain = 0;
while (1) { while (1) {
if (unlikely(chain > 1)) { if (unlikely(chain > 1)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment