diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-07-24 22:53:34 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-24 22:53:34 +0200 |
commit | 7fa897b91a3ea0f16c2873b869d7a0eef05acff4 (patch) | |
tree | b631e7db0745282689fd5a4dbe17ca10e31d5a78 /drivers/ide/ide-dma.c | |
parent | ide: ide-tape.c sparse annotations and unaligned access removal (diff) | |
download | linux-7fa897b91a3ea0f16c2873b869d7a0eef05acff4.tar.xz linux-7fa897b91a3ea0f16c2873b869d7a0eef05acff4.zip |
ide: trivial sparse annotations
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-dma.c')
-rw-r--r-- | drivers/ide/ide-dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c index be99d463dcc7..71c377a7bcf2 100644 --- a/drivers/ide/ide-dma.c +++ b/drivers/ide/ide-dma.c @@ -173,7 +173,7 @@ EXPORT_SYMBOL_GPL(ide_build_sglist); int ide_build_dmatable (ide_drive_t *drive, struct request *rq) { ide_hwif_t *hwif = HWIF(drive); - unsigned int *table = hwif->dmatable_cpu; + __le32 *table = (__le32 *)hwif->dmatable_cpu; unsigned int is_trm290 = (hwif->chipset == ide_trm290) ? 1 : 0; unsigned int count = 0; int i; |