Skip to content

Commit

Permalink
[IA64] Fix typo/thinko in arch/ia64/sn/kernel/sn2/sn2_smp.c
Browse files Browse the repository at this point in the history
sn2_ptc_init() has what looks like a cut-n-paste error. Fix it.

Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
  • Loading branch information
rddunlap authored and aegl committed Apr 1, 2009
1 parent c66b31f commit ebf7649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ia64/sn/kernel/sn2/sn2_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ static int __init sn2_ptc_init(void)

proc_sn2_ptc = proc_create(PTC_BASENAME, 0444,
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);
return -EINVAL;
}
Expand Down

0 comments on commit ebf7649

Please sign in to comment.