sata_rcar: fix compilation warning in sata_rcar_thaw()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Mon, 3 Jun 2013 20:16:05 +0000 (13:16 -0700)
committerTejun Heo <tj@kernel.org>
Tue, 4 Jun 2013 01:49:45 +0000 (18:49 -0700)
commit5ba59b59cb413b9d89f40532bad3529d5185dd3c
treed2d990cbda07fddc69e82a20b8d9a4cb4c0706b9
parentddfef5de3d716f77bad32dbbba6b280158dfd721
sata_rcar: fix compilation warning in sata_rcar_thaw()

When compiling the driver with gcc 4.8, it gives the following warning:

 drivers/ata/sata_rcar.c: In function `sata_rcar_thaw':
 drivers/ata/sata_rcar.c:183:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]

Fix the warning by explicit cast of the 'unsigned long' value to 'u32'.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_rcar.c
This page took 0.025366 seconds and 5 git commands to generate.