aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorQuentin Lambert <[email protected]>2015-02-09 09:45:32 +0000
committerRafael J. Wysocki <[email protected]>2015-02-12 01:00:52 +0000
commit59d84ca8c46a93ad62f9129458e897e7fe5075de (patch)
tree9476854453199ad93851f272ab2acf5bbee7b147 /lib/string.c
parentPM / OPP: Assert RCU lock in exported functions (diff)
downloadkernel-59d84ca8c46a93ad62f9129458e897e7fe5075de.tar.gz
kernel-59d84ca8c46a93ad62f9129458e897e7fe5075de.zip
PM / OPP / clk: Remove unnecessary OOM message
This patch reduces the kernel size by removing error messages that duplicate the normal OOM message. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr) @@ identifier f,print,l; expression e; constant char[] c; @@ e = \(kzalloc\|kmalloc\|devm_kzalloc\|devm_kmalloc\)(...); if (e == NULL) { <+... - print(...,c,...); ... when any ( goto l; | return ...; ) ...+> } Signed-off-by: Quentin Lambert <[email protected]> Acked-by: Nishanth Menon <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions