Skip to contentSkip to conversation

trivial blank line at end of file cleanup

PATCH In review Stephen Hemminger 2 participants 7 messages Apr 10, 2019 – Apr 22, 2019 Network drivers

lore
Share & tools
lore
#0 lore raw

cover trivial blank line at end of file cleanup

Ran script that looks for extra whitespace (what git and checkpatch complain about). Found several trival cases of extra line at end of file.

Stephen Hemminger (5):
vhost: eliminate blank line at EOF
net/atlantic: remove extra blank line at EOF
bus/fslmc: remove blank line at EOF
raw/ifpga_rawdev: remove blank line at EOF
net/qede: remove blank line at EOF

 drivers/bus/fslmc/rte_bus_fslmc_version.map       | 1 -
 drivers/net/atlantic/atl_ethdev.c                 | 1 -
 drivers/net/atlantic/atl_rxtx.c                   | 1 -
 drivers/net/atlantic/hw_atl/hw_atl_b0.c           | 1 -
 drivers/net/qede/qede_filter.c                    | 1 -
 drivers/raw/ifpga_rawdev/base/ifpga_feature_dev.c | 1 -
 drivers/raw/ifpga_rawdev/ifpga_rawdev.c           | 1 -
 lib/librte_vhost/iotlb.c                          | 1 -
 8 files changed, 8 deletions(-)
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/5 vhost: eliminate blank line at EOF

---
 lib/librte_vhost/iotlb.c | 1 -
 1 file changed, 1 deletion(-)
lib/librte_vhost/iotlb.c +0 -1
index c6354fef7e65..fcf9e9861afd 100644
@@ -361,4 +361,3 @@ vhost_user_iotlb_init(struct virtio_net *dev, int vq_index)
 
 	return 0;
 }
-
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/5 net/atlantic: remove extra blank line at EOF

In reply to Stephen Hemminger

Bad style and git complains about blank line at EOF

---
 drivers/net/atlantic/atl_ethdev.c       | 1 -
 drivers/net/atlantic/atl_rxtx.c         | 1 -
 drivers/net/atlantic/hw_atl/hw_atl_b0.c | 1 -
 3 files changed, 3 deletions(-)
drivers/net/atlantic/atl_ethdev.c +0 -1
index 8327863cd9b6..76f342b589cf 100644
@@ -1545,4 +1545,3 @@ RTE_INIT(atl_init_log)
 	if (atl_logtype_driver >= 0)
 		rte_log_set_level(atl_logtype_driver, RTE_LOG_NOTICE);
 }
-
drivers/net/atlantic/atl_rxtx.c +0 -1
index f1519594adad..fe0077044097 100644
@@ -1348,4 +1348,3 @@ atl_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t nb_pkts)
 
 	return nb_tx;
 }
-
drivers/net/atlantic/hw_atl/hw_atl_b0.c +0 -1
index 53fd8e9f0237..03b1a64ea522 100644
@@ -503,4 +503,3 @@ int hw_atl_b0_hw_ring_rx_stop(struct aq_hw_s *self, int index)
 	hw_atl_rdm_rx_desc_en_set(self, 0U, index);
 	return aq_hw_err_from_flags(self);
 }
-
Signature · 1 line
2.17.1
#3 lore raw

PATCH 3/5 bus/fslmc: remove blank line at EOF

In reply to Stephen Hemminger
---
 drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 -
 1 file changed, 1 deletion(-)
drivers/bus/fslmc/rte_bus_fslmc_version.map +0 -1
index 60b81b2989c3..e86007384ab6 100644
@@ -141,4 +141,3 @@ DPDK_19.05 {
 	qbman_result_eqresp_set_rspid;
 	qbman_swp_enqueue_multiple_fd;
 } DPDK_18.11;
-
Signature · 1 line
2.17.1
#4 lore raw

PATCH 4/5 raw/ifpga_rawdev: remove blank line at EOF

In reply to Stephen Hemminger
---
 drivers/raw/ifpga_rawdev/base/ifpga_feature_dev.c | 1 -
 drivers/raw/ifpga_rawdev/ifpga_rawdev.c           | 1 -
 2 files changed, 2 deletions(-)
drivers/raw/ifpga_rawdev/base/ifpga_feature_dev.c +0 -1
index be7ac9eee34d..d9240564c449 100644
@@ -250,4 +250,3 @@ int port_hw_init(struct ifpga_port_hw *port)
 
 	return 0;
 }
-
drivers/raw/ifpga_rawdev/ifpga_rawdev.c +0 -1
index da772d026fec..52ac866140e0 100644
@@ -611,4 +611,3 @@ RTE_PMD_REGISTER_PARAM_STRING(ifpga_rawdev_cfg,
 	"ifpga=<string> "
 	"port=<int> "
 	"afu_bts=<path>");
-
Signature · 1 line
2.17.1
#6 lore raw
In reply to Stephen Hemminger

10/04/2019 20:05, Stephen Hemminger:

Quoted 10 lines

Ran script that looks for extra whitespace (what git and checkpatch complain about). Found several trival cases of extra line at end of file.

Stephen Hemminger (5):
vhost: eliminate blank line at EOF
net/atlantic: remove extra blank line at EOF
bus/fslmc: remove blank line at EOF
raw/ifpga_rawdev: remove blank line at EOF
net/qede: remove blank line at EOF

Squashed in one patch and applied, thanks