Re: [PATCH] MIPS: Remove no-op cast in show_regs()

2018-07-02 Thread Paul Burton
Hi Ralf, On Mon, Jul 02, 2018 at 05:20:29PM +0200, Ralf Baechle wrote: > On Fri, Jun 22, 2018 at 11:07:03AM -0700, Paul Burton wrote: > > > In show_regs() we have a regs argument of type struct pt_regs *, and we > > explicitly cast it to that same type as part of calling __show_regs(). > > > >

Re: [PATCH] MIPS: Remove no-op cast in show_regs()

2018-07-02 Thread Paul Burton
Hi Ralf, On Mon, Jul 02, 2018 at 05:20:29PM +0200, Ralf Baechle wrote: > On Fri, Jun 22, 2018 at 11:07:03AM -0700, Paul Burton wrote: > > > In show_regs() we have a regs argument of type struct pt_regs *, and we > > explicitly cast it to that same type as part of calling __show_regs(). > > > >

Re: [PATCH] MIPS: Remove no-op cast in show_regs()

2018-07-02 Thread Julia Lawall
On Mon, 2 Jul 2018, Ralf Baechle wrote: > On Fri, Jun 22, 2018 at 11:07:03AM -0700, Paul Burton wrote: > > > In show_regs() we have a regs argument of type struct pt_regs *, and we > > explicitly cast it to that same type as part of calling __show_regs(). > > > > Casting regs to the same type

Re: [PATCH] MIPS: Remove no-op cast in show_regs()

2018-07-02 Thread Julia Lawall
On Mon, 2 Jul 2018, Ralf Baechle wrote: > On Fri, Jun 22, 2018 at 11:07:03AM -0700, Paul Burton wrote: > > > In show_regs() we have a regs argument of type struct pt_regs *, and we > > explicitly cast it to that same type as part of calling __show_regs(). > > > > Casting regs to the same type

Re: [PATCH] MIPS: Remove no-op cast in show_regs()

2018-07-02 Thread Ralf Baechle
On Fri, Jun 22, 2018 at 11:07:03AM -0700, Paul Burton wrote: > In show_regs() we have a regs argument of type struct pt_regs *, and we > explicitly cast it to that same type as part of calling __show_regs(). > > Casting regs to the same type that it is declared as does nothing at > all, so

Re: [PATCH] MIPS: Remove no-op cast in show_regs()

2018-07-02 Thread Ralf Baechle
On Fri, Jun 22, 2018 at 11:07:03AM -0700, Paul Burton wrote: > In show_regs() we have a regs argument of type struct pt_regs *, and we > explicitly cast it to that same type as part of calling __show_regs(). > > Casting regs to the same type that it is declared as does nothing at > all, so