[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140524220009.GD24038@thin>
Date: Sat, 24 May 2014 15:00:09 -0700
From: Josh Triplett <josh@...htriplett.org>
To: Fabian Frederick <fabf@...net.be>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH 4/4] lib/debugobjects.c: code clean-up
On Sat, May 24, 2014 at 03:08:06PM +0200, Fabian Frederick wrote:
> Fix some checkpatch warnings.
>
> Cc: Josh Triplett <josh@...htriplett.org>
> Cc: Andrew Morton <akpm@...ux-foundation.org>
> Signed-off-by: Fabian Frederick <fabf@...net.be>
Some of these make sense, one of them does not. Comments below.
Also, please explicitly note the checkpatch warnings you fixed, not just
"Fix some checkpatch warnings.".
> --- a/lib/debugobjects.c
> +++ b/lib/debugobjects.c
[...]
> @@ -415,7 +415,8 @@ int debug_object_activate(void *addr, struct debug_obj_descr *descr)
> debug_print_object(obj, "activate");
> state = obj->state;
> raw_spin_unlock_irqrestore(&db->lock, flags);
> - ret = debug_object_fixup(descr->fixup_activate, addr, state);
> + ret = debug_object_fixup(descr->fixup_activate,
> + addr, state);
This does not seem like a worthwhile improvement. Please don't blindly
listen to checkpatch, especially regarding line lengths.
- Josh Triplett
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists