aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2012-09-21 15:09:47 +0800
committerMarc Kleine-Budde <mkl@pengutronix.de>2012-09-21 23:58:48 +0200
commitf61bd0585dfc7d99db4936d7467de4ca8e2f7ea0 (patch)
treed496fda833a14cf8221c7fcb71e8e0044accd9c3 /tools/perf/scripts/python/net_dropmonitor.py
parentcan: usb: peak: rename peak_usb dump_mem function (diff)
downloadlinux-f61bd0585dfc7d99db4936d7467de4ca8e2f7ea0.tar.gz
linux-f61bd0585dfc7d99db4936d7467de4ca8e2f7ea0.zip
can: mscan-mpc5xxx: fix return value check in mpc512x_can_get_clock()
In case of error, the function clk_get() returns ERR_PTR() and never returns NULL pointer. The NULL test in the error handling should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch) Cc: stable <stable@vger.kernel.org> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions