Re: [PATCH 1/1] drivers/base: Remove unnecessary OOM message

From: Joe Perches
Date: Fri Feb 06 2015 - 16:04:40 EST


On Fri, 2015-02-06 at 21:58 +0100, Pavel Machek wrote:
> On Fri 2015-02-06 16:39:12, Quentin Lambert wrote:
> > This patch fix checkpatch warnings concerning the possible
> > duplication of an "out of memory" message.
>
> So, instead of nice and readable "not enough memory for clock..." we
> get OOM, stackdump, and backtrace...? Not sure it is improvement.

All allocs without __GFP_NOWARN already gets an OOM and stackdump.
These are just unnecessary.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/