diff options
author | 2014-11-27 21:05:34 +0800 | |
---|---|---|
committer | 2014-11-29 21:11:16 -0800 | |
commit | 28603d13997e2ef47f18589cc9a44553aad49c86 (patch) | |
tree | 9f4b995f9f0f232f43346750e125ee462910a494 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | sh_eth: Fix skb alloc size and alignment adjust rule. (diff) | |
download | linux-dev-28603d13997e2ef47f18589cc9a44553aad49c86.tar.xz linux-dev-28603d13997e2ef47f18589cc9a44553aad49c86.zip |
stmmac: platform: Move plat_dat checking earlier
Original code only check/alloc plat_dat for the CONFIG_OF case, this
patch check/alloc it earlier and unconditionally to avoid kernel build
warnings:
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:275
stmmac_pltfr_probe() warn: variable dereferenced before check 'plat_dat'
V2: Fix coding style.
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions