mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
More missing semicolons after DEBUGASSERT
This commit is contained in:
parent
d41b050526
commit
38735fafeb
7 changed files with 7 additions and 7 deletions
|
@ -568,7 +568,7 @@ static int efm32_ioctl(struct file *filep, int cmd, unsigned long arg)
|
|||
inode = filep->f_inode;
|
||||
dev = inode->i_private;
|
||||
|
||||
DEBUGASSERT(dev, dev->priv)
|
||||
DEBUGASSERT(dev, dev->priv);
|
||||
priv = (struct efm32_leuart_s*)dev->priv;
|
||||
|
||||
switch (cmd)
|
||||
|
|
|
@ -977,7 +977,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
|
|||
inode = filep->f_inode;
|
||||
dev = inode->i_private;
|
||||
|
||||
DEBUGASSERT(dev, dev->priv)
|
||||
DEBUGASSERT(dev, dev->priv);
|
||||
priv = (struct up_dev_s*)dev->priv;
|
||||
|
||||
switch (cmd)
|
||||
|
|
|
@ -624,7 +624,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
|
|||
inode = filep->f_inode;
|
||||
dev = inode->i_private;
|
||||
|
||||
DEBUGASSERT(dev, dev->priv)
|
||||
DEBUGASSERT(dev, dev->priv);
|
||||
priv = (struct up_dev_s*)dev->priv;
|
||||
|
||||
switch (cmd)
|
||||
|
|
|
@ -532,7 +532,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
|
|||
inode = filep->f_inode;
|
||||
dev = inode->i_private;
|
||||
|
||||
DEBUGASSERT(dev, dev->priv)
|
||||
DEBUGASSERT(dev, dev->priv);
|
||||
priv = (struct up_dev_s*)dev->priv;
|
||||
|
||||
switch (cmd)
|
||||
|
|
|
@ -592,7 +592,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
|
|||
inode = filep->f_inode;
|
||||
dev = inode->i_private;
|
||||
|
||||
DEBUGASSERT(dev, dev->priv)
|
||||
DEBUGASSERT(dev, dev->priv);
|
||||
priv = (struct up_dev_s*)dev->priv;
|
||||
|
||||
switch (cmd)
|
||||
|
|
|
@ -276,7 +276,7 @@ void up_disable_irq(int irq)
|
|||
|
||||
/* Disable the interrupt by clearing the associated bit in the IEC register */
|
||||
|
||||
DEBUGASSERT((unsigned)irq < NR_IRQS)
|
||||
DEBUGASSERT((unsigned)irq < NR_IRQS);
|
||||
regaddr = pic32mz_iecclr(irq);
|
||||
bitno = (unsigned)irq & 31;
|
||||
|
||||
|
|
|
@ -900,7 +900,7 @@ static int up_ioctl(struct file *filep, int cmd, unsigned long arg)
|
|||
inode = filep->f_inode;
|
||||
dev = inode->i_private;
|
||||
|
||||
DEBUGASSERT(dev, dev->priv)
|
||||
DEBUGASSERT(dev, dev->priv);
|
||||
priv = (struct up_dev_s*)dev->priv;
|
||||
|
||||
switch (cmd)
|
||||
|
|
Loading…
Reference in a new issue