[PATCH] trivial: Fix typos "emptry" -> "emptry" and "emtry" -> "entry"

From: Uwe Kleine-KÃnig
Date: Tue Aug 27 2019 - 16:03:39 EST


I found one when reading through spi.c. Then grepped for other instances
and mistyped the pattern at first. So it's one logical change to fix
them all in one go :-)

Signed-off-by: Uwe Kleine-KÃnig <uwe@xxxxxxxxxxxxxxxxx>
---
Hello,

If this should go via the respective maintainer trees, I can
also split to increase my patch count.

Best regards
Uwe
---
drivers/infiniband/hw/cxgb3/cxio_resource.c | 2 +-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 2 +-
drivers/spi/spi.c | 2 +-
fs/xfs/xfs_dquot.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/infiniband/hw/cxgb3/cxio_resource.c b/drivers/infiniband/hw/cxgb3/cxio_resource.c
index c6e7bc4420b6..844fa3cdd7a7 100644
--- a/drivers/infiniband/hw/cxgb3/cxio_resource.c
+++ b/drivers/infiniband/hw/cxgb3/cxio_resource.c
@@ -184,7 +184,7 @@ static u32 cxio_hal_get_resource(struct kfifo *fifo, spinlock_t * lock)
if (kfifo_out_locked(fifo, (unsigned char *) &entry, sizeof(u32), lock))
return entry;
else
- return 0; /* fifo emptry */
+ return 0; /* fifo empty */
}

static void cxio_hal_put_resource(struct kfifo *fifo, spinlock_t * lock,
diff --git a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c b/drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c
index c1eba421ba82..1ac1e49c89ea 100644
--- a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c
+++ b/drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c
@@ -1891,7 +1891,7 @@ int hns_dsaf_del_mac_entry(struct dsaf_device *dsaf_dev, u16 vlan_id,
/*do del opt*/
hns_dsaf_tcam_mc_invld(dsaf_dev, entry_index);

- /*del soft emtry */
+ /*del soft entry */
soft_mac_entry += entry_index;
soft_mac_entry->index = DSAF_INVALID_ENTRY_IDX;

diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 75ac046cae52..ec9d3588659a 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -92,7 +92,7 @@ static ssize_t driver_override_store(struct device *dev,
if (len) {
spi->driver_override = driver_override;
} else {
- /* Emptry string, disable driver override */
+ /* Empty string, disable driver override */
spi->driver_override = NULL;
kfree(driver_override);
}
diff --git a/fs/xfs/xfs_dquot.c b/fs/xfs/xfs_dquot.c
index fb1ad4483081..78a5a8109644 100644
--- a/fs/xfs/xfs_dquot.c
+++ b/fs/xfs/xfs_dquot.c
@@ -1089,7 +1089,7 @@ xfs_qm_dqflush(
* to disk, because the log record didn't make it to disk.
*
* We also have to remove the log item from the AIL in this case,
- * as we wait for an emptry AIL as part of the unmount process.
+ * as we wait for an empty AIL as part of the unmount process.
*/
if (XFS_FORCED_SHUTDOWN(mp)) {
struct xfs_log_item *lip = &dqp->q_logitem.qli_item;
--
2.23.0