projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dm: power: Add a new driver for the TPS65090 PMIC
[oweals/u-boot.git]
/
drivers
/
dfu
/
dfu.c
diff --git
a/drivers/dfu/dfu.c
b/drivers/dfu/dfu.c
index 0560afa9ffa500b1d49a5c911268d8c6bd1070e0..675162d927d8863a96952f407c0fced396e9c48c 100644
(file)
--- a/
drivers/dfu/dfu.c
+++ b/
drivers/dfu/dfu.c
@@
-198,9
+198,9
@@
int dfu_write(struct dfu_entity *dfu, void *buf, int size, int blk_seq_num)
{
int ret;
{
int ret;
- debug("%s: name: %s buf: 0x%p size: 0x%x p_num: 0x%x offset: 0x%llx bufoffset: 0x%x\n",
+ debug("%s: name: %s buf: 0x%p size: 0x%x p_num: 0x%x offset: 0x%llx bufoffset: 0x%
l
x\n",
__func__, dfu->name, buf, size, blk_seq_num, dfu->offset,
__func__, dfu->name, buf, size, blk_seq_num, dfu->offset,
-
dfu->i_buf - dfu->i_buf_start
);
+
(unsigned long)(dfu->i_buf - dfu->i_buf_start)
);
if (!dfu->inited) {
/* initial state */
if (!dfu->inited) {
/* initial state */