mirror of
https://review.coreboot.org/flashrom.git
synced 2025-06-30 21:52:36 +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:
@ -295,7 +295,8 @@ static int buspirate_spi_send_command(unsigned int writecnt, unsigned int readcn
|
||||
const unsigned char *writearr, unsigned char *readarr)
|
||||
{
|
||||
static unsigned char *buf = NULL;
|
||||
int i = 0, ret = 0;
|
||||
unsigned int i = 0;
|
||||
int ret = 0;
|
||||
|
||||
if (writecnt > 16 || readcnt > 16 || (readcnt + writecnt) > 16)
|
||||
return SPI_INVALID_LENGTH;
|
||||
|
Reference in New Issue
Block a user