#ifndef __DT_BINDINGS_POWER_RK3399_POWER_H__ #define __DT_BINDINGS_POWER_RK3399_POWER_H__ /* VD_CORE_L */ #define RK3399_PD_A53_L0 0 #define RK3399_PD_A53_L1 1 #define RK3399_PD_A53_L2 2 #define RK3399_PD_A53_L3 3 #define RK3399_PD_SCU_L 4 /* VD_CORE_B */ #define RK3399_PD_A72_B0 5 #define RK3399_PD_A72_B1 6 #define RK3399_PD_SCU_B 7 /* VD_LOGIC */ #define RK3399_PD_TCPD0 8 #define RK3399_PD_TCPD1 9 #define RK3399_PD_CCI 10 #define RK3399_PD_CCI0 11 #define RK3399_PD_CCI1 12 #define RK3399_PD_PERILP 13 #define RK3399_PD_PERIHP 14 #define RK3399_PD_VIO 15 #define RK3399_PD_VO 16 #define RK3399_PD_VOPB 17 #define RK3399_PD_VOPL 18 #define RK3399_PD_ISP0 19 #define RK3399_PD_ISP1 20 #define RK3399_PD_HDCP 21 #define RK3399_PD_GMAC 22 #define RK3399_PD_EMMC 23 #define RK3399_PD_USB3 24 #define RK3399_PD_EDP 25 #define RK3399_PD_GIC 26 #define RK3399_PD_SD 27 #define RK3399_PD_SDIOAUDIO 28 #define RK3399_PD_ALIVE 29 /* VD_CENTER */ #define RK3399_PD_CENTER 30 #define RK3399_PD_VCODEC 31 #define RK3399_PD_VDU 32 #define RK3399_PD_RGA 33 #define RK3399_PD_IEP 34 /* VD_GPU */ #define RK3399_PD_GPU 35 /* VD_PMU */ #define RK3399_PD_PMU 36 #endif vate-remove net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/net/netns/xfrm.h
diff options
context:
space:
mode:
authorVincent <vincent.stehle@laposte.net>2017-01-30 15:06:43 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-31 13:07:40 -0500
commitc73e44269369e936165f0f9b61f1f09a11dae01c (patch)
treee2188e900ba06302f8ed2746cb07edd3efbc5c35 /include/net/netns/xfrm.h
parent040587af31228d82c52267f717c9fcdb65f36335 (diff)
net: thunderx: avoid dereferencing xcv when NULL
This fixes the following smatch and coccinelle warnings: drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119 xcv_setup_link() error: we previously assumed 'xcv' could be null (see line 118) [smatch] drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119:16-20: ERROR: xcv is NULL but dereferenced. [coccinelle] Fixes: 6465859aba1e66a5 ("net: thunderx: Add RGMII interface type support") Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns/xfrm.h')