mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
Unsignify lengths and addresses in chip functions and structs
Push those changes forward where needed to prevent new sign conversion warnings where possible. Corresponding to flashrom svn r1470. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
4
opaque.c
4
opaque.c
@ -53,7 +53,7 @@ int probe_opaque(struct flashchip *flash)
|
||||
return opaque_programmer->probe(flash);
|
||||
}
|
||||
|
||||
int read_opaque(struct flashchip *flash, uint8_t *buf, int start, int len)
|
||||
int read_opaque(struct flashchip *flash, uint8_t *buf, unsigned int start, unsigned int len)
|
||||
{
|
||||
if (!opaque_programmer->read) {
|
||||
msg_perr("%s called before register_opaque_programmer. "
|
||||
@ -64,7 +64,7 @@ int read_opaque(struct flashchip *flash, uint8_t *buf, int start, int len)
|
||||
return opaque_programmer->read(flash, buf, start, len);
|
||||
}
|
||||
|
||||
int write_opaque(struct flashchip *flash, uint8_t *buf, int start, int len)
|
||||
int write_opaque(struct flashchip *flash, uint8_t *buf, unsigned int start, unsigned int len)
|
||||
{
|
||||
if (!opaque_programmer->write) {
|
||||
msg_perr("%s called before register_opaque_programmer. "
|
||||
|
Reference in New Issue
Block a user