Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ebf7649a authored by Randy Dunlap's avatar Randy Dunlap Committed by Tony Luck
Browse files

[IA64] Fix typo/thinko in arch/ia64/sn/kernel/sn2/sn2_smp.c



sn2_ptc_init() has what looks like a cut-n-paste error. Fix it.

Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent c66b31f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -554,7 +554,7 @@ static int __init sn2_ptc_init(void)


	proc_sn2_ptc = proc_create(PTC_BASENAME, 0444,
	proc_sn2_ptc = proc_create(PTC_BASENAME, 0444,
				   NULL, &proc_sn2_ptc_operations);
				   NULL, &proc_sn2_ptc_operations);
	if (!&proc_sn2_ptc_operations) {
	if (!proc_sn2_ptc) {
		printk(KERN_ERR "unable to create %s proc entry", PTC_BASENAME);
		printk(KERN_ERR "unable to create %s proc entry", PTC_BASENAME);
		return -EINVAL;
		return -EINVAL;
	}
	}