diff options
author | Heiko Stuebner <[email protected]> | 2015-10-15 14:35:01 +0200 |
---|---|---|
committer | Heiko Stuebner <[email protected]> | 2015-10-16 09:23:59 +0200 |
commit | c3ce5b3768b17120dca852513af211c4acd3d2b0 (patch) | |
tree | 17ff308e08ca05659314449a9884f90c5e9378e9 /net/unix/af_unix.c | |
parent | 0cc598915fc787193ddb7401a11f80c17ccbabe4 (diff) |
soc: rockchip: power-domain: don't try to print the clock name in error case
When we never got the the clock-reference, i.e. when IS_ERR(clk) is true,
don't try to print the clock name via %pC as this of course produces a
null-pointer-dereference in __clk_get_name().
Signed-off-by: Heiko Stuebner <[email protected]>
Reviewed-by: Caesar Wang <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions