[PATCH] powerpc: Drop unneeded cast in task_pt_regs()

Michael Ellerman patch-notifications at ellerman.id.au
Wed May 20 21:00:02 AEST 2020


On Tue, 28 Apr 2020 22:31:52 +1000, Michael Ellerman wrote:
> There's no need to cast in task_pt_regs() as tsk->thread.regs should
> already be a struct pt_regs. If someone's using task_pt_regs() on
> something that's not a task but happens to have a thread.regs then
> we'll deal with them later.

Applied to powerpc/next.

[1/1] powerpc: Drop unneeded cast in task_pt_regs()
      https://git.kernel.org/powerpc/c/24ac99e97fa7b8f0db9b48413a76def9cf73295c

cheers


More information about the Linuxppc-dev mailing list