Skip to content

Commit

Permalink
[S390] s390mach compile warning
Browse files Browse the repository at this point in the history
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: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Martin Schwidefsky committed May 7, 2008
1 parent 5b89098 commit c6ca185
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/s390/s390mach.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@ s390_collect_crw_info(void *param)
int ccode;
struct semaphore *sem;
unsigned int chain;
int ignore;

sem = (struct semaphore *)param;
repeat:
down_interruptible(sem);
ignore = down_interruptible(sem);
chain = 0;
while (1) {
if (unlikely(chain > 1)) {
Expand Down

0 comments on commit c6ca185

Please sign in to comment.