[S390] s390mach compile warning

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git-commits-head@...>
Date: Thursday, May 8, 2008 - 5:59 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c6ca18...
Commit:     c6ca1850e78d60c299ceb4c240a04af9e2384f70
Parent:     5b8909871b80a6cc2bd21aa5262c1424e3d26339
Author:     Martin Schwidefsky <schwidefsky@de.ibm.com>
AuthorDate: Wed May 7 09:22:56 2008 +0200
Committer:  Martin Schwidefsky <schwidefsky@de.ibm.com>
CommitDate: Wed May 7 09:23:02 2008 +0200

    [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: Martin Schwidefsky <schwidefsky@de.ibm.com>
---
 drivers/s390/s390mach.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/s390/s390mach.c b/drivers/s390/s390mach.c
index 4d4b542..5080f34 100644
--- a/drivers/s390/s390mach.c
+++ b/drivers/s390/s390mach.c
@@ -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)) {
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[S390] s390mach compile warning, Linux Kernel Mailing List..., (Thu May 8, 5:59 pm)