Skip to content

Commit 5f22c3b

Browse files
Alejandro Lucerokuba-moo
authored andcommitted
sfc: fix builds without CONFIG_RTC_LIB
Add an embarrassingly missed semicolon plus and embarrassingly missed parenthesis breaking kernel building when CONFIG_RTC_LIB is not set like the one reported with ia64 config. Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: 14743dd ("sfc: add devlink info support for ef100") Signed-off-by: Alejandro Lucero <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 5feeaba commit 5f22c3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/sfc/efx_devlink.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ static void efx_devlink_info_running_v2(struct efx_nic *efx,
323323
GET_VERSION_V2_OUT_SUCFW_BUILD_DATE);
324324
rtc_time64_to_tm(tstamp, &build_date);
325325
#else
326-
memset(&build_date, 0, sizeof(build_date)
326+
memset(&build_date, 0, sizeof(build_date));
327327
#endif
328328
build_id = MCDI_DWORD(outbuf, GET_VERSION_V2_OUT_SUCFW_CHIP_ID);
329329

0 commit comments

Comments
 (0)