diff options
author | 2015-10-20 11:49:44 +0100 | |
---|---|---|
committer | 2015-10-20 17:24:08 +0100 | |
commit | 625faa6a720d26fc0db9e20b48dc0dfe4c8d8ddf (patch) | |
tree | a9d0f9a0a352dace47c61240bde0ee98f190c15f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ARM: 8445/1: fix vdsomunge not to depend on glibc specific byteswap.h (diff) | |
download | linux-dev-625faa6a720d26fc0db9e20b48dc0dfe4c8d8ddf.tar.xz linux-dev-625faa6a720d26fc0db9e20b48dc0dfe4c8d8ddf.zip |
clkdev: fix clk_add_alias() with a NULL alias device name
clk_add_alias() was not correctly handling the case where alias_dev_name
was NULL: rather than producing an entry with a NULL dev_id pointer,
it would produce a device name of (null). Fix this.
Cc: <stable@vger.kernel.org>
Fixes: 2568999835d7 ("clkdev: add clkdev_create() helper")
Reported-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions