Return to site

Error: Implicit Declaration Of Function ‘INIT_DELAYED_WORK_DEFERRABLE’

broken image

Error: Implicit Declaration Of Function ‘INIT_DELAYED_WORK_DEFERRABLE’

arch/arm64/include/asm/processor.h:159:40: error: implicit declaration of function 'task_stack_page' [-Werror=implicit-function-declaration] . HERE

On that line, I saw this: INIT_DELAYED_WORK_DEFERRABLE(&this_nightmare_cpuinfo->work, ... error: implicit declaration of function.... strict_strtoul() was just a redefinition of kstrtoul() for a long time. From kernel version of 3.18, strict_strtoul() will not be defined at all. A compile time kernel version check is needed to decide which function or macro can be used for a specific version of kernel. Fortunately, the fix was pretty simple. https://hub.docker.com/r/ceiconsrespder/how-to-reach-buy-online-pick-up-in-store-shoppers

... 'adc_jack_probe': drivers/extcon/extcon-adc-jack.c:146:2: error: implicit declaration of function 'INIT_DELAYED_WORK_DEFERRABLE'.... Describe the problem you're observing. current_kernel_time64() was removed from recent kernels. Looks like ktime_get_coarse_real_ts64().... The structure, defined in , is a collection of function pointers. ... while (0) #define INIT_DELAYED_WORK_DEFERRABLE(_work, _func) do ... jit.c: In function 'jit_fn': jit.c:73: error: implicit declaration of function.... ... 'adc_jack_probe': drivers/extcon/extcon-adc-jack.c:146:2: error: implicit declaration of function 'INIT_DELAYED_WORK_DEFERRABLE'.... ... In function 'adc_jack_probe': drivers/extcon/extcon-adc-jack.c:146:2: error: implicit declaration of function 'INIT_DELAYED_WORK_DEFERRABLE'... Click

... error: implicit declaration of function 'pci_enable_msi_range'; did you mean 'pci_enable_msix_range'? [-Werror=implicit-function-declaration]. ... wont work i suppose. Code: drivers/cpufreq/cpufreq_nightmare.c: In function 'init_rq_avg': ... INIT_DELAYED_WORK_DEFERRABLE(&rq_data->work, rq_work_fn); ... error: implicit declaration of function 'cputime64_sub'... 3d2ef5c2b0 4