summaryrefslogtreecommitdiff
path: root/.vim/ftplugin/vhdl.vim
blob: 5c27d4cfa625cc29a44e48dd024e8185a22fc2ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
setlocal textwidth=0
setlocal shiftwidth=2
setlocal tabstop=2
setlocal expandtab

" abbreviations
iabbr dt downto
iabbr sig signal
iabbr sl std_logic
iabbr slv std_logic_vector
iabbr uns unsigned
iabbr toi to_integer
iabbr tos to_signed
iabbr tou to_unsigned

ncludemode:
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>2017-02-11 03:49:57 +0200
committerDavid S. Miller <davem@davemloft.net>2017-02-11 21:26:57 -0500
commit1bf960502e4c94425c3a3a985200834fb59839c6 (patch)
tree5ed30ec961fa8e1333a3818bacc5b0607c20a210 /drivers
parent98eb253cbde7e860fad83fa759058269ca69916d (diff)
net: ethernet: ti: cpsw: return NET_XMIT_DROP if skb_padto failed
If skb_padto failed the skb has been dropped already, so it was consumed, but it doesn't mean it was sent, thus no need to update queue tx time, etc. So, return NET_XMIT_DROP as more appropriate. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/ti/cpsw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c