summaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_dbf.h
diff options
context:
space:
mode:
authorMartin Peschke <mp3@de.ibm.com>2008-04-17 00:08:03 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-17 12:56:49 -0500
commitee95a16d3950367d32beb6ffed287666631dbda9 (patch)
tree05732093341f724ae76a3abea0868a98f083a28a /drivers/s390/scsi/zfcp_dbf.h
parent95e7a8efd79d4eb74646ed5cb998599f21627091 (diff)
downloadop-kernel-dev-ee95a16d3950367d32beb6ffed287666631dbda9.zip
op-kernel-dev-ee95a16d3950367d32beb6ffed287666631dbda9.tar.gz
[SCSI] zfcp: fix compiler warning caused by poking inside new semaphore (linux-next)
as seen in linux-next tree: drivers/s390/scsi/zfcp_dbf.c: In function ‘zfcp_rec_dbf_event_thread’: drivers/s390/scsi/zfcp_dbf.c:697: warning: passing argument 1 of ‘atomic_read’ from incompatible pointer type Caused by recent git commit: commit 348447e85749120ad600a5c8e23b6bb7058b931d Author: Martin Peschke <mp3@de.ibm.com> Date: Thu Mar 27 14:22:01 2008 +0100 [SCSI] zfcp: Add trace records for recovery thread and its queues We are not supposed to poke inside semaphore. Signed-off-by: Martin Peschke <mp3@de.ibm.com> Acked-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_dbf.h')
-rw-r--r--drivers/s390/scsi/zfcp_dbf.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/scsi/zfcp_dbf.h b/drivers/s390/scsi/zfcp_dbf.h
index 732a5ba..54c34e4 100644
--- a/drivers/s390/scsi/zfcp_dbf.h
+++ b/drivers/s390/scsi/zfcp_dbf.h
@@ -35,7 +35,6 @@ struct zfcp_dbf_dump {
} __attribute__ ((packed));
struct zfcp_rec_dbf_record_thread {
- u32 sema;
u32 total;
u32 ready;
u32 running;
OpenPOWER on IntegriCloud