Skip to contentSkip to conversation

Warning in ffs2_1pass.c

U-Boot Dirk Behme 2 participants 2 messages Dec 13, 2008 – Dec 15, 2008

lore
Share & tools
lore

Dirk Behme

author
#0 lore raw

Just fyi: Using git head (89d56f5503eed351efe5ab0b4dd0f1e888fd2336:
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx) I get warning:

-- cut --
ffs2_1pass.c:1411:1: warning: "min_t" redefined
In file include/nand.h:30,

                  from jffs2_1pass.c:151:

include/linux/mtd/compat.h:34:1: warning: this is the location of the previous definition
-- cut --

Best regards

Dirk

#1 lore raw
Quoted 10 lines · Dirk Behme

Just fyi: Using git head (89d56f5503eed351efe5ab0b4dd0f1e888fd2336:
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx) I get warning:

-- cut --
ffs2_1pass.c:1411:1: warning: "min_t" redefined
In file include/nand.h:30,

                  from jffs2_1pass.c:151:

include/linux/mtd/compat.h:34:1: warning: this is the location of the previous definition
-- cut --

That's fixed by this patch:
http://lists.denx.de/pipermail/u-boot/2008-December/044620.html

-Scott