Re: [PATCH] ppc64: fix debugger() warnings

From: Anton Blanchard
Date: Fri Feb 20 2004 - 01:46:33 EST



> > +static inline int debugger(struct *pt_regs regs) { return 0; }
> > +static inline int debugger_bpt(struct *pt_regs regs) { return 0; }
> > +static inline int debugger_sstep(struct *pt_regs regs) { return 0; }
>
> I guess these work a LOT better if you type them as "struct pt_regs
> *regs) instead of 'struct *pt_regs regs'

Wow thats some impressively shit coding on my part :) Thanks for
catching it.

Anton
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/