Skip to content

Commit a3845e4

Browse files
author
Izabela Bakollari
committed
net: atlantic: convert comma to semicolon
JIRA: https://issues.redhat.com/browse/RHEL-73855 commit aac0484 Author: Chen Ni <nichen@iscas.ac.cn> Date: Wed Sep 4 16:08:45 2024 +0800 net: atlantic: convert comma to semicolon Replace comma between expressions with semicolons. Using a ',' in place of a ';' can have unintended side effects. Although that is not the case here, it is seems best to use ';' unless ',' is intended. Found by inspection. No functional change intended. Compile tested only. Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20240904080845.1353144-1-nichen@iscas.ac.cn Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Izabela Bakollari <ibakolla@redhat.com>
1 parent 9deb11d commit a3845e4

File tree

1 file changed

+2
-2
lines changed
  • drivers/net/ethernet/aquantia/atlantic

1 file changed

+2
-2
lines changed

drivers/net/ethernet/aquantia/atlantic/aq_ring.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ static int __aq_ring_rx_clean(struct aq_ring_s *self, struct napi_struct *napi,
557557
}
558558

559559
frag_cnt++;
560-
next_ = buff_->next,
560+
next_ = buff_->next;
561561
buff_ = &self->buff_ring[next_];
562562
is_rsc_completed =
563563
aq_ring_dx_in_range(self->sw_head,
@@ -583,7 +583,7 @@ static int __aq_ring_rx_clean(struct aq_ring_s *self, struct napi_struct *napi,
583583
err = -EIO;
584584
goto err_exit;
585585
}
586-
next_ = buff_->next,
586+
next_ = buff_->next;
587587
buff_ = &self->buff_ring[next_];
588588

589589
buff_->is_cleaned = true;

0 commit comments

Comments
 (0)