linux/drivers/net/ethernet
Nathan Chancellor b4d104ce6d net: tulip: Adjust indentation in {dmfe, uli526x}_init_module
commit fe06bf3d83 upstream.

Clang warns:

../drivers/net/ethernet/dec/tulip/uli526x.c:1812:3: warning: misleading
indentation; statement is not part of the previous 'if'
[-Wmisleading-indentation]
        switch (mode) {
        ^
../drivers/net/ethernet/dec/tulip/uli526x.c:1809:2: note: previous
statement is here
        if (cr6set)
        ^
1 warning generated.

../drivers/net/ethernet/dec/tulip/dmfe.c:2217:3: warning: misleading
indentation; statement is not part of the previous 'if'
[-Wmisleading-indentation]
        switch(mode) {
        ^
../drivers/net/ethernet/dec/tulip/dmfe.c:2214:2: note: previous
statement is here
        if (cr6set)
        ^
1 warning generated.

This warning occurs because there is a space before the tab on these
lines. Remove them so that the indentation is consistent with the Linux
kernel coding style and clang no longer warns.

While we are here, adjust the default block in dmfe_init_module to have
a proper break between the label and assignment and add a space between
the switch and opening parentheses to avoid a checkpatch warning.

Fixes: e1c3e50140 ("[PATCH] initialisation cleanup for ULI526x-net-driver")
Link: https://github.com/ClangBuiltLinux/linux/issues/795
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-11 04:35:46 -08:00
..
3com
8390
adaptec
aeroflex
agere
alacritech
allwinner drivers: net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
alteon
altera
amazon net: ena: fix napi handler misbehavior when the napi budget is zero 2020-01-04 19:19:17 +01:00
amd
apm
apple
aquantia net: aquantia: add an error handling in aq_nic_set_multicast_list 2019-10-19 12:16:38 -07:00
arc net: ethernet: arc: add the missed clk_disable_unprepare 2019-11-01 10:25:39 -07:00
atheros net: ag71xx: fix mdio subnode support 2019-10-01 10:19:19 -07:00
aurora
broadcom bnxt_en: Fix logic that disables Bus Master during firmware reset. 2020-02-11 04:35:06 -08:00
brocade
cadence macb: Don't unregister clks unconditionally 2020-01-12 12:21:50 +01:00
calxeda
cavium net: thunderx: start phy before starting autonegotiation 2019-12-18 16:08:29 +01:00
chelsio l2t_seq_next should increase position index 2020-02-05 21:22:51 +00:00
cirrus net: ep93xx_eth: fix mismatch of request_mem_region in remove 2019-11-15 12:42:09 -08:00
cisco
cortina net: gemini: Fix memory leak in gmac_setup_txqs 2019-12-31 16:41:18 +01:00
davicom
dec net: tulip: Adjust indentation in {dmfe, uli526x}_init_module 2020-02-11 04:35:46 -08:00
dlink
emulex drivers: net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
ezchip
faraday net: ethernet: ftgmac100: Fix DMA coherency issue with SW checksum 2019-10-28 16:22:50 -07:00
freescale net: fsl/fman: rename IF_MODE_XGMII to IF_MODE_10G 2020-02-05 21:22:51 +00:00
fujitsu
google net: Google gve: Remove dma_wmb() before ringing doorbell 2020-02-01 09:34:44 +00:00
hisilicon net: hns: fix soft lockup when there is not enough memory 2020-01-23 08:22:50 +01:00
hp
huawei
i825xx net: i82596: fix dma_alloc_attr for sni_82596 2019-10-15 20:50:05 -07:00
ibm ibmvnic: Fix completion structure initialization 2019-12-31 16:45:49 +01:00
intel iavf: remove current MAC address filter on VF reset 2020-02-05 21:22:45 +00:00
marvell net: marvell: mvpp2: phylink requires the link interrupt 2020-01-04 19:19:07 +01:00
mediatek net: ethernet: mediatek: Fix MT7629 missing GMII mode support 2019-10-15 18:03:35 -07:00
mellanox mlxsw: minimal: Fix an error handling path in 'mlxsw_m_port_create()' 2020-02-01 09:34:39 +00:00
micrel Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2019-09-18 12:34:53 -07:00
microchip net: reject PTP periodic output requests with unsupported flags 2019-11-15 12:48:32 -08:00
moxa
mscc net: mscc: ocelot: unregister the PTP clock on deinit 2019-12-18 16:09:14 +01:00
myricom
natsemi net/sonic: Prevent tx watchdog timeout 2020-01-29 16:45:33 +01:00
neterion
netronome nfp: flower: fix stats id allocation 2019-12-31 16:41:30 +01:00
ni net: nixge: Fix a signedness bug in nixge_probe() 2019-09-27 10:20:36 +02:00
nvidia Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-09-15 14:17:27 +02:00
nxp net: lpc_eth: avoid resetting twice 2019-10-13 11:15:25 -07:00
oki-semi
packetengines
pasemi
pensando ionic: fix rxq comp packet type mask 2020-02-11 04:35:06 -08:00
qlogic qlcnic: Fix CPU soft lockup while collecting firmware dump 2020-02-05 21:22:51 +00:00
qualcomm net: qca_spi: Move reset_count to struct qcaspi 2019-11-20 12:42:23 -08:00
rdc
realtek r8169: respect EEE user setting when restarting network 2019-12-31 16:45:22 +01:00
renesas sh_eth: check sh_eth_cpu_data::dual_port when dumping registers 2020-01-23 08:22:53 +01:00
rocker rocker: add missing init_net check in FIB notifier 2019-09-05 12:14:10 +02:00
samsung
seeq
sfc sfc: Only cancel the PPS workqueue if it exists 2019-11-21 12:06:06 -08:00
sgi
silan
sis
smsc net: smc911x: Adjust indentation in smc911x_phy_configure 2020-02-11 04:35:46 -08:00
socionext net: socionext: fix xdp_result initialization in netsec_process_rx 2020-02-01 09:34:39 +00:00
stmicro net: stmmac: Delete txtimer in suspend() 2020-02-11 04:35:04 -08:00
sun
synopsys
tehuti
ti net: ethernet: ti: ale: clean ale tbl on init and intf restart 2019-12-31 16:45:42 +01:00
toshiba
tundra
via
wiznet
xilinx net: axienet: Fix error return code in axienet_probe() 2020-01-26 10:01:06 +01:00
xircom
xscale
Kconfig net: remove netx ethernet driver 2019-09-21 19:08:31 -07:00
Makefile net: remove netx ethernet driver 2019-09-21 19:08:31 -07:00
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c pci-v5.4-changes 2019-09-23 19:16:01 -07:00
jme.h
korina.c
lantiq_etop.c
lantiq_xrx200.c