]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] zfcp: fix compiler warning caused by poking inside new semaphore (linux-next)
authorMartin Peschke <mp3@de.ibm.com>
Wed, 16 Apr 2008 22:08:03 +0000 (00:08 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 17 Apr 2008 17:56:49 +0000 (12:56 -0500)
commit07562a166ebb883dc60e886d63a3e769c4c7f590
tree05732093341f724ae76a3abea0868a98f083a28a
parent62242439de2f5539c2c45f38fbe5442cd01600da
[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 c329d754fac620343c21e981a60581e794d873c4
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>
drivers/s390/scsi/zfcp_dbf.c
drivers/s390/scsi/zfcp_dbf.h