Procházet zdrojové kódy

microblaze: Add missing return from debugfs_tlb

Function must return any value.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek před 12 roky
rodič
revize
5b3084b582
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      arch/microblaze/kernel/setup.c

+ 2 - 0
arch/microblaze/kernel/setup.c

@@ -216,6 +216,8 @@ static int __init debugfs_tlb(void)
 	d = debugfs_create_u32("tlb_skip", S_IRUGO, of_debugfs_root, &tlb_skip);
 	d = debugfs_create_u32("tlb_skip", S_IRUGO, of_debugfs_root, &tlb_skip);
 	if (!d)
 	if (!d)
 		return -ENOMEM;
 		return -ENOMEM;
+
+	return 0;
 }
 }
 device_initcall(debugfs_tlb);
 device_initcall(debugfs_tlb);
 # endif
 # endif