Skip to content

Commit 846976a

Browse files
committed
fix compiler warnings on fedora
Signed-off-by: Kieran Levin <[email protected]>
1 parent 1795d9d commit 846976a

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

board/hx20/cypress5525.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ void cyp5525_port_int(int controller, int port)
972972
rv = i2c_read_offset16_block(i2c_port, addr_flags, CYP5525_PORT_PD_RESPONSE_REG(port), data2, 4);
973973
if (rv != EC_SUCCESS)
974974
CPRINTS("PORT_PD_RESPONSE_REG failed");
975-
print_pd_response_code(controller,
975+
print_pd_response_code(controller,
976976
port,
977977
data2[0],
978978
data2[1]);

util/build.mk

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@
77
#
88

99
host-util-bin=ectool lbplay stm32mon ec_sb_firmware_update lbcc \
10-
ec_parse_panicinfo cbi-util iteflash
10+
ec_parse_panicinfo cbi-util
1111
build-util-bin=ec_uartd
1212
build-util-art+=util/export_taskinfo.so
1313
ifeq ($(CHIP),npcx)
1414
build-util-bin+=ecst
1515
endif
16+
ifeq ($(CHIP_FAMILY),it8xxx2)
17+
build-util-bin+=iteflash
18+
endif
1619
host-util-bin+=uartupdatetool
1720
uartupdatetool-objs=uut/main.o uut/cmd.o uut/opr.o uut/l_com_port.o \
1821
uut/lib_crc.o

util/ectool_keyscan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ static const unsigned char kbd_plain_xlate[] = {
137137
'8', '9', '-', '4', '5', '6', '+', '1', /* 0x40 - 0x4f */
138138
'2', '3', '0', '.', 0xff, 0xff, 0xff, 0xff,
139139
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x50 - 0x5F */
140-
'\r', 0xff, 0xff
140+
'\r', 0xff, 0xff, 0x00
141141
};
142142

143143
/**

0 commit comments

Comments
 (0)