kernel: pid_namespace: replace deprecated __initcall with device_initcall
PATCH 1/1 kernel: pid_namespace: replace deprecated __initcall with device_initcall
__initcall maps onto device_initcall(). Such code should use device_initcall() directly. Issue detected using checkpatch.pl.
Signed-off-by Gargi Sharma <[email protected]>
--- kernel/pid_namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/pid_namespace.c +1 -1
@@ -452,4 +452,4 @@ static __init int pid_namespaces_init(void)return 0 ; } -__initcall (pid_namespaces_init); +device_initcall (pid_namespaces_init);
Signature · 1 line
2.7.4