[PATCH 00/44] usb: don't print on ENOMEM
Lothar Waßmann
LW at KARO-electronics.de
Fri Aug 26 16:27:20 AEST 2016
Hi,
On Thu, 25 Aug 2016 19:38:52 +0200 Wolfram Sang wrote:
> Here is my next series to save memory by removing unneeded strings. It removes
> in the usb subsystem all unspecific error messages after calling malloc-based
> functions, i.e. (devm_)k[zcm]alloc. kmalloc prints enough information in that
> case. If the message was specific (e.g. "can't save CLEAR_TT_BUFFER state"), I
> left it. This series saves ~4.5KB of "out of memory" permutations in .text and
> .rodata. For modified lines, (x == NULL) was replaced with (!NULL) as well.
s/!NULL/!x/
Lothar Waßmann
More information about the Linuxppc-dev
mailing list