projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69d5af8
)
mtd: st_spi_fsm: Fix [-Wsign-compare] build warning
author
Lee Jones
<lee.jones@linaro.org>
Mon, 15 Dec 2014 11:59:12 +0000
(11:59 +0000)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 13 Jan 2015 05:08:10 +0000
(21:08 -0800)
drivers/mtd/devices/st_spi_fsm.c:1647:17:
warning: comparison between signed and unsigned integer expressions
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/st_spi_fsm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/devices/st_spi_fsm.c
b/drivers/mtd/devices/st_spi_fsm.c
index 3451864b9f68c9c6b25b36e43159dd5433a66e02..3060025c8af47772cd1d9cc50fdcc277de1521ae 100644
(file)
--- a/
drivers/mtd/devices/st_spi_fsm.c
+++ b/
drivers/mtd/devices/st_spi_fsm.c
@@
-1586,11
+1586,11
@@
static int stfsm_write(struct stfsm *fsm, const uint8_t *buf,
uint32_t size_lb;
uint32_t size_mop;
uint32_t tmp[4];
+ uint32_t i;
uint32_t page_buf[FLASH_PAGESIZE_32];
uint8_t *t = (uint8_t *)&tmp;
const uint8_t *p;
int ret;
- int i;
dev_dbg(fsm->dev, "writing %d bytes to 0x%08x\n", size, offset);