Return-Path: Received: from ozlabs.org (bilbo.ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3y8xjh07qRzDr37 for ; Sun, 8 Oct 2017 19:43:36 +1100 (AEDT) In-Reply-To: <9e98f74834af349564b71bc8443bdad55d6e37c6.1505934128.git.naveen.n.rao@linux.vnet.ibm.com> To: "Naveen N. Rao" From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, Masami Hiramatsu , Kamalesh Babulal Subject: Re: [v2, 1/6] powerpc/kprobes: Some cosmetic updates to try_to_emulate() Message-Id: <3y8xjg6RR0z9t4V@ozlabs.org> Date: Sun, 8 Oct 2017 19:43:35 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 2017-09-22 at 09:10:43 UTC, "Naveen N. Rao" wrote: > 1. This is only used in kprobes.c, so make it static. > 2. Remove the un-necessary (ret == 0) comparison in the else clause. > > Reviewed-by: Masami Hiramatsu > Reviewed-by: Kamalesh Babulal > Signed-off-by: Naveen N. Rao Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/22085337f5b9d7a7adf5c6cc4e007c cheers