* Re: [PATCH] ppc64: fix debugger() warnings
[not found] <200402190609.i1J69Hhl001602@hera.kernel.org>
@ 2004-02-19 18:22 ` Arjan van de Ven
2004-02-20 6:42 ` Anton Blanchard
0 siblings, 1 reply; 2+ messages in thread
From: Arjan van de Ven @ 2004-02-19 18:22 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: akpm, anton
[-- Attachment #1: Type: text/plain, Size: 389 bytes --]
On Thu, 2004-02-19 at 05:45, Linux Kernel Mailing List wrote:
> +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'
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ppc64: fix debugger() warnings
2004-02-19 18:22 ` [PATCH] ppc64: fix debugger() warnings Arjan van de Ven
@ 2004-02-20 6:42 ` Anton Blanchard
0 siblings, 0 replies; 2+ messages in thread
From: Anton Blanchard @ 2004-02-20 6:42 UTC (permalink / raw)
To: Arjan van de Ven; +Cc: Linux Kernel Mailing List, akpm
> > +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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-20 6:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200402190609.i1J69Hhl001602@hera.kernel.org>
2004-02-19 18:22 ` [PATCH] ppc64: fix debugger() warnings Arjan van de Ven
2004-02-20 6:42 ` Anton Blanchard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®