projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09ce992
)
cfi_flash: Silence compilation warning
author
Stefan Roese
<sr@denx.de>
Thu, 5 Feb 2009 10:25:57 +0000
(11:25 +0100)
committer
Stefan Roese
<sr@denx.de>
Thu, 5 Feb 2009 10:25:57 +0000
(11:25 +0100)
Patch "flash/cfi_flash: Use virtual sector start address, not phys"
introduced a small compilation warning. This patch fixes it.
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/cfi_flash.c
b/drivers/mtd/cfi_flash.c
index 4cb5fb52e4b2272565faadde507ccbdad621c546..3a8f8e42e267425aa20d71a58cfbbe4f82147440 100644
(file)
--- a/
drivers/mtd/cfi_flash.c
+++ b/
drivers/mtd/cfi_flash.c
@@
-879,7
+879,7
@@
static int flash_write_cfibuffer (flash_info_t * info, ulong dest, uchar * cp,
int cnt;
int retcode;
void *src = cp;
- void *dst = dest;
+ void *dst =
(void *)
dest;
void *dst2 = dst;
int flag = 0;
uint offset = 0;