Fix spelling errors that Lintian complains about
PATCH 1/1 Fix spelling errors that Lintian complains about
From: Luca Boccassi <[email protected]>
---
Would be really great to hook up some spell checkers to the CI, so that I'm not the only one who gets nagged by automated tools :-)
app/test-fib/main.c | 4 ++-- drivers/net/hns3/hns3_ethdev.h | 2 +- drivers/net/i40e/i40e_ethdev_vf.c | 2 +- drivers/net/ixgbe/base/ixgbe_x540.c | 2 +- drivers/net/netvsc/hn_rndis.c | 2 +- drivers/net/qede/base/ecore_sriov.c | 2 +- drivers/net/virtio/virtio_user/vhost_kernel_tap.c | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-)
app/test-fib/main.c +2 -2
@@ -629,10 +629,10 @@ print_usage(void)"[-s <shuffle randomly generated routes>]\n" "[-a <check nexthops for all ipv4 address space" "(only valid with -c)>]\n" -"[-b <fib algorithm>]\n\tavailible options for ipv4\n" +"[-b <fib algorithm>]\n\tavailable options for ipv4\n" "\t\trib - RIB based FIB\n" "\t\tdir - DIR24_8 based FIB\n" -"\tavailible options for ipv6:\n" +"\tavailable options for ipv6:\n" "\t\trib - RIB based FIB\n" "\t\ttrie - TRIE based FIB\n" "defaults are: dir for ipv4 and trie for ipv6\n"
drivers/net/hns3/hns3_ethdev.h +1 -1
@@ -166,7 +166,7 @@ enum hns3_media_type {struct hns3_mac {uint8_t mac_addr[RTE_ETHER_ADDR_LEN ]; -bool default_addr_setted;/* whether default addr(mac_addr) is setted */ +bool default_addr_setted;/* whether default addr(mac_addr) is set */ uint8_t media_type;uint8_t phy_addr;uint8_t link_duplex :1 ;/* ETH_LINK_[HALF/FULL]_DUPLEX */
drivers/net/i40e/i40e_ethdev_vf.c +1 -1
@@ -260,7 +260,7 @@ i40evf_read_pfmsg(struct rte_eth_dev *dev, struct i40evf_arq_msg_info *data)case VIRTCHNL_EVENT_RESET_IMPENDING : vf->vf_reset = true; vf->pend_msg |=PFMSG_RESET_IMPENDING ; -PMD_DRV_LOG (INFO ,"vf is reseting" ); +PMD_DRV_LOG (INFO ,"vf is resetting" );break ;case VIRTCHNL_EVENT_PF_DRIVER_CLOSE : vf->dev_closed = true;
drivers/net/ixgbe/base/ixgbe_x540.c +1 -1
@@ -784,7 +784,7 @@ s32 ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask)* bits in the SW_FW_SYNC register. */ if (ixgbe_get_swfw_sync_semaphore (hw)) { -DEBUGOUT ("Failed to get NVM sempahore and register semaphore while forcefully ignoring FW sempahore bit(s) and setting SW semaphore bit(s), returning IXGBE_ERR_SWFW_SYNC\n" ); +DEBUGOUT ("Failed to get NVM semaphore and register semaphore while forcefully ignoring FW semaphore bit(s) and setting SW semaphore bit(s), returning IXGBE_ERR_SWFW_SYNC\n" );return IXGBE_ERR_SWFW_SYNC ; } swfw_sync =IXGBE_READ_REG (hw,IXGBE_SWFW_SYNC_BY_MAC (hw));
drivers/net/netvsc/hn_rndis.c +1 -1
@@ -276,7 +276,7 @@ static int hn_nvs_send_rndis_ctrl(struct vmbus_channel *chan, sg.len = reqlen;if (sg.ofs + reqlen >PAGE_SIZE ) { -PMD_DRV_LOG (ERR ,"RNDIS request crosses page bounary" ); +PMD_DRV_LOG (ERR ,"RNDIS request crosses page boundary" );return -EINVAL ; }
drivers/net/qede/base/ecore_sriov.c +1 -1
@@ -4077,7 +4077,7 @@ ecore_iov_execute_vf_flr_cleanup(struct ecore_hwfn *p_hwfn, rc =ecore_iov_enable_vf_access (p_hwfn, p_ptt, p_vf);if (rc) {/* TODO - again, a mess... */ -DP_ERR (p_hwfn,"Failed to re-enable VF[%d] acces\n" , +DP_ERR (p_hwfn,"Failed to re-enable VF[%d] access\n" , vfid);return rc; }
drivers/net/virtio/virtio_user/vhost_kernel_tap.c +1 -1
@@ -39,7 +39,7 @@ vhost_kernel_tap_set_offload(int fd, uint64_t features)/* Check if our kernel supports TUNSETOFFLOAD */ if (ioctl (fd,TUNSETOFFLOAD ,0 ) !=0 && errno ==EINVAL ) { -PMD_DRV_LOG (ERR ,"Kernel does't support TUNSETOFFLOAD\n" ); +PMD_DRV_LOG (ERR ,"Kernel doesn't support TUNSETOFFLOAD\n" );return -ENOTSUP ; }
Signature · 1 line
2.20.1
Thomas Monjalon
Applied29/10/2020 14:36, [email protected]:
Quoted 6 lines
From: Luca Boccassi <[email protected]>
Signed-off-by Luca Boccassi <[email protected]>---
Would be really great to hook up some spell checkers to the CI, so that I'm not the only one who gets nagged by automated tools :-)
There is a spell checker with checkpatch
and we are catching/fixing some of them while merging.
Applied, thank you for fixing more.
04/11/2020 19:34, Thomas Monjalon:
Quoted 8 lines
29/10/2020 14:36, [email protected]:
Quoted 6 lines
From: Luca Boccassi <[email protected]>
Signed-off-by Luca Boccassi <[email protected]>---
Would be really great to hook up some spell checkers to the CI, so that I'm not the only one who gets nagged by automated tools :-)
Quoted 4 lines
There is a spell checker with checkpatch
and we are catching/fixing some of them while merging.Applied, thank you for fixing more.
I did the boring work of finding each root cause:
Fixes: 103809d032cd ("app/test-fib: add test application for FIB")
Fixes: 1265b5372d9d ("net/hns3: add some definitions for data structure and macro")
Fixes: a85e378cc606 ("net/ixgbe/base: add debug traces")
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Fixes: 4e9c73e96e83 ("net/netvsc: add Hyper-V network device")
Fixes: 86a2265e59d7 ("qede: add SRIOV support")
Fixes: 1db4d2330bc8 ("net/virtio-user: check negotiated features before set")
Cc: [email protected]