This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit dc73324ed09e72c6739f09e2b4c239911547ed16 Author: raiden00pl <raide...@railab.me> AuthorDate: Wed May 14 13:07:05 2025 +0200 drivers/can: fix codespell errors drivers/can: fix codespell errors Signed-off-by: raiden00pl <raide...@railab.me> --- drivers/can/can.c | 8 ++++---- drivers/can/ctucanfd_pci.c | 6 +++--- drivers/can/kvaser_pci.c | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/can/can.c b/drivers/can/can.c index 6465e22216..d2c87067bf 100644 --- a/drivers/can/can.c +++ b/drivers/can/can.c @@ -317,7 +317,7 @@ static int can_close(FAR struct file *filep) nxsem_post(&fifo->rx_sem); - /* Notify specfic poll/select waiter that they can read from the + /* Notify specific poll/select waiter that they can read from the * cd_recv buffer */ @@ -904,7 +904,7 @@ static int can_ioctl(FAR struct file *filep, int cmd, unsigned long arg) case CANIOC_SET_TRANSVSTATE: { /* if we don't use dev->cd_transv->cts_ops, please initlize - * this poniter to NULL in lower board code when Board reset. + * this pointer to NULL in lower board code when Board reset. */ if (dev->cd_transv && dev->cd_transv->ct_ops @@ -927,7 +927,7 @@ static int can_ioctl(FAR struct file *filep, int cmd, unsigned long arg) case CANIOC_GET_TRANSVSTATE: { /* if we don't use dev->cd_transv->cts_ops, please initlize - * this poniter to NULL in lower board code when Board reset. + * this pointer to NULL in lower board code when Board reset. */ if (dev->cd_transv && dev->cd_transv->ct_ops @@ -1275,7 +1275,7 @@ int can_receive(FAR struct can_dev_s *dev, FAR struct can_hdr_s *hdr, nxsem_post(&fifo->rx_sem); } - /* Notify specfic poll/select waiter that they can read from the + /* Notify specific poll/select waiter that they can read from the * cd_recv buffer */ diff --git a/drivers/can/ctucanfd_pci.c b/drivers/can/ctucanfd_pci.c index 954b837a36..db9aa5899e 100644 --- a/drivers/can/ctucanfd_pci.c +++ b/drivers/can/ctucanfd_pci.c @@ -1703,7 +1703,7 @@ static int ctucanfd_interrupt(int irq, FAR void *context, FAR void *arg) if (regval != 0) { - /* Disable RX interrupts until we handle all interrups */ + /* Disable RX interrupts until we handle all interrupts */ ctucanfd_rxint(&priv->devs[i], false); @@ -1757,10 +1757,10 @@ static void ctucanfd_init(FAR struct ctucanfd_driver_s *priv) } /***************************************************************************** - * Name: ctucanfd_ctucanfd_proble + * Name: ctucanfd_ctucanfd_probe * * Description: - * Proble CTUCANFD devices on board and return the number of vailalbe chips. + * Probe CTUCANFD devices on board and return the number of vailalbe chips. * *****************************************************************************/ diff --git a/drivers/can/kvaser_pci.c b/drivers/can/kvaser_pci.c index 88ffcfe3e9..c10d108b50 100644 --- a/drivers/can/kvaser_pci.c +++ b/drivers/can/kvaser_pci.c @@ -371,7 +371,7 @@ static void kvaser_setup(FAR struct kvaser_sja_s *priv) { /* REVISIT: missing bus timings configuration and output control. * - * This driver was verified on QEMU with virtual host CAN netwrok, + * This driver was verified on QEMU with virtual host CAN network, * which doesn't need bus timings and output control registers set. * For real hardware, these registers must be properly configured ! */ @@ -822,7 +822,7 @@ static void kvaser_chardev_receive(FAR struct kvaser_sja_s *priv) canerr("ERROR: Received message with extended" " identifier. Dropped\n"); - /* Relese RX buffer */ + /* Release RX buffer */ kvaser_putreg_sja(priv, SJA1000_CMD_REG, SJA1000_RELEASE_BUF); @@ -1593,7 +1593,7 @@ static void kvaser_init(FAR struct kvaser_driver_s *priv) * Name: kvaser_count_sja * * Description: - * Proble SJA1000 devices on board and return the number of vailalbe chips. + * Probe SJA1000 devices on board and return the number of vailalbe chips. * *****************************************************************************/