pm8001: Fix erratic calculation in update_flash
authorTomas Henzl <thenzl@redhat.com>
Wed, 30 Jul 2014 14:40:51 +0000 (16:40 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Aug 2014 12:16:40 +0000 (08:16 -0400)
commit5bd355ee3b0191c6846918b049b3940182bec1cb
tree2665003f95df9bd30bec4dcfd71ed11f7444749e
parentf5a7b5252f8a1755d065f07d9fc7752a6605743b
pm8001: Fix erratic calculation in update_flash

The loopcount is calculated by using some weird magic. Use instead a boring
macro.

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Acked-by: Suresh Thiagarajan <Suresh.Thiagarajan@pmcs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/pm8001/pm8001_ctl.c
This page took 0.027416 seconds and 5 git commands to generate.