]> Git Repo - linux.git/commitdiff
sfc: fix builds without CONFIG_RTC_LIB
authorAlejandro Lucero <[email protected]>
Mon, 20 Feb 2023 11:01:33 +0000 (11:01 +0000)
committerJakub Kicinski <[email protected]>
Tue, 21 Feb 2023 00:39:50 +0000 (16:39 -0800)
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: 14743ddd2495 ("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]>
drivers/net/ethernet/sfc/efx_devlink.c

index 52fe2b2658f3445b5267580fcbc62fc81cbb6a6d..381b805659d39a11d5ceef2cf9d67cb2fba3bc8d 100644 (file)
@@ -323,7 +323,7 @@ static void efx_devlink_info_running_v2(struct efx_nic *efx,
                                    GET_VERSION_V2_OUT_SUCFW_BUILD_DATE);
                rtc_time64_to_tm(tstamp, &build_date);
 #else
-               memset(&build_date, 0, sizeof(build_date)
+               memset(&build_date, 0, sizeof(build_date));
 #endif
                build_id = MCDI_DWORD(outbuf, GET_VERSION_V2_OUT_SUCFW_CHIP_ID);
 
This page took 0.057707 seconds and 4 git commands to generate.