/* * Copyright (C) 2014 Alexander Shiyan * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #ifndef __DT_BINDINGS_CLOCK_IMX1_H #define __DT_BINDINGS_CLOCK_IMX1_H #define IMX1_CLK_DUMMY 0 #define IMX1_CLK_CLK32 1 #define IMX1_CLK_CLK16M_EXT 2 #define IMX1_CLK_CLK16M 3 #define IMX1_CLK_CLK32_PREMULT 4 #define IMX1_CLK_PREM 5 #define IMX1_CLK_MPLL 6 #define IMX1_CLK_MPLL_GATE 7 #define IMX1_CLK_SPLL 8 #define IMX1_CLK_SPLL_GATE 9 #define IMX1_CLK_MCU 10 #define IMX1_CLK_FCLK 11 #define IMX1_CLK_HCLK 12 #define IMX1_CLK_CLK48M 13 #define IMX1_CLK_PER1 14 #define IMX1_CLK_PER2 15 #define IMX1_CLK_PER3 16 #define IMX1_CLK_CLKO 17 #define IMX1_CLK_UART3_GATE 18 #define IMX1_CLK_SSI2_GATE 19 #define IMX1_CLK_BROM_GATE 20 #define IMX1_CLK_DMA_GATE 21 #define IMX1_CLK_CSI_GATE 22 #define IMX1_CLK_MMA_GATE 23 #define IMX1_CLK_USBD_GATE 24 #define IMX1_CLK_MAX 25 #endif tion value='emaclite-cleanup'>emaclite-cleanup net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/tools/perf/util/bpf-loader.c
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 /tools/perf/util/bpf-loader.c
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 'tools/perf/util/bpf-loader.c')