lkml.org 
[lkml]   [2010]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 04/29] arch/powerpc: Update WARN uses
    Date
    Coalesce long formats.
    Align arguments.
    Add missing newlines.

    Signed-off-by: Joe Perches <joe@perches.com>
    ---
    arch/powerpc/kernel/hw_breakpoint.c | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/arch/powerpc/kernel/hw_breakpoint.c b/arch/powerpc/kernel/hw_breakpoint.c
    index 5ecd040..d7343a7 100644
    --- a/arch/powerpc/kernel/hw_breakpoint.c
    +++ b/arch/powerpc/kernel/hw_breakpoint.c
    @@ -270,8 +270,8 @@ int __kprobes hw_breakpoint_handler(struct die_args *args)
    * message to let the user know about it.
    */
    if (!stepped) {
    - WARN(1, "Unable to handle hardware breakpoint. Breakpoint at "
    - "0x%lx will be disabled.", info->address);
    + WARN(1, "Unable to handle hardware breakpoint. Breakpoint at 0x%lx will be disabled.\n",
    + info->address);
    perf_event_disable(bp);
    goto out;
    }
    --
    1.7.3.2.245.g03276.dirty


    \
     
     \ /
      Last update: 2010-12-06 23:11    [W:3.115 / U:0.172 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site