This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: redboot/.../flash.c compiler warnings


Hi again,

Sorry to bug you, but this patch is gating for additional patches I have
to the same file, so if I could get you to have a look at it, I'd be
happy.

Thanks,
Rene

-----Original Message-----
From: ecos-patches-owner@ecos.sourceware.org
[mailto:ecos-patches-owner@ecos.sourceware.org] On Behalf Of Rene
Nielsen
Sent: 17. februar 2009 17:12
To: ecos-patches@sourceware.org
Subject: redboot/.../flash.c compiler warnings

Hi,

The attached patch fixes the following compiler warnings seen when
CYGOPT_REDBOOT_REDUNDANT_FIS is enabled:

.../packages/redboot/current/src/flash.c: In function
`fis_start_update_directory':
.../packages/redboot/current/src/flash.c:289: warning: initialization
makes integer from pointer without a cast
.../packages/redboot/current/src/flash.c:290: warning: initialization
makes integer from pointer without a cast
.../packages/redboot/current/src/flash.c:295: warning: assignment makes
integer from pointer without a cast
.../packages/redboot/current/src/flash.c:296: warning: assignment makes
pointer from integer without a cast
.../packages/redboot/current/src/flash.c:313: warning: format argument
is not a pointer (arg 2)
.../packages/redboot/current/src/flash.c:320: warning: format argument
is not a pointer (arg 2)
.../packages/redboot/current/src/flash.c: In function
`fis_update_directory':
.../packages/redboot/current/src/flash.c:363: warning: initialization
makes pointer from integer without a cast
.../packages/redboot/current/src/flash.c:364: warning: assignment makes
integer from pointer without a cast
.../packages/redboot/current/src/flash.c:375: warning: passing arg 1 of
`cyg_flash_program' makes integer from pointer without a cast
.../packages/redboot/current/src/flash.c:377: warning: format argument
is not a pointer (arg 2)
.../packages/redboot/current/src/flash.c: In function
`fis_erase_redundant_directory':
.../packages/redboot/current/src/flash.c:475: warning: passing arg 1 of
`cyg_flash_erase' makes integer from pointer without a cast
.../packages/redboot/current/src/flash.c:475: warning: passing arg 3 of
`cyg_flash_erase' from incompatible pointer type
.../packages/redboot/current/src/flash.c: In function `fis_init':
.../packages/redboot/current/src/flash.c:673: warning: format argument
is not a pointer (arg 2)
.../packages/redboot/current/src/flash.c:683: warning: format argument
is not a pointer (arg 2)
.../packages/redboot/current/src/flash.c: In function `do_flash_init':
.../packages/redboot/current/src/flash.c:1938: warning: passing arg 1 of
`cyg_flash_read' makes integer from pointer without a cast
.../packages/redboot/current/src/flash.c:1959: warning: assignment makes
pointer from integer without a cast
.../packages/redboot/current/src/flash.c:1960: warning: assignment makes
integer from pointer without a cast

Regards,
Rene Schipp von Branitz Nielsen
Vitesse Semiconductors


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]