CC: [email protected]
BCC: [email protected]
CC: Linux Memory Management List <[email protected]>
TO: Horatiu Vultur <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   adaedcf826dccf01b69d9a1f1997c9446c6b2c54
commit: 77eecf25bd9d2f07673b3a62b86ba1b224b65d9e [2671/10053] net: lan966x: 
Update extraction/injection for timestamping
:::::: branch date: 15 hours ago
:::::: commit date: 4 weeks ago
compiler: riscv32-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>


cppcheck possible warnings: (new ones prefixed by >>, may not real problems)

>> drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c:147:0: warning: syntax 
>> error [syntaxError]
   
   ^
--
>> drivers/net/wireless/ath/ath9k/rng.c:0:0: warning: Invalid value: 0x780000_S 
>> [cppcheckError]
   
   ^
   drivers/net/wireless/ath/ath9k/rng.c:0:0: note: Invalid value: 0x780000_S
   
   ^
   drivers/net/wireless/ath/ath9k/rng.c:0:0: note: Invalid value: 0x780000_S
   
   ^
>> drivers/net/wireless/ath/ath10k/txrx.c:160:31: warning: Uninitialized 
>> variable: peer [uninitvar]
    if (peer_id >= BITS_PER_TYPE(peer->peer_ids))
                                 ^
--
>> drivers/net/wireless/ath/wcn36xx/main.c:421:11: warning: Identical inner 
>> 'if' condition is always true. [identicalInnerCondition]
      if (wcn->sw_scan_channel)
             ^
   drivers/net/wireless/ath/wcn36xx/main.c:416:42: note: outer condition: 
wcn->sw_scan_channel
     if (wcn->sw_scan_opchannel == ch && wcn->sw_scan_channel) {
                                            ^
   drivers/net/wireless/ath/wcn36xx/main.c:421:11: note: identical inner 
condition: wcn->sw_scan_channel
      if (wcn->sw_scan_channel)
             ^
>> drivers/net/wireless/ath/wcn36xx/smd.c:885:2: warning: Redundant pointer 
>> operation on 'msg_body' - it's already a pointer. [redundantPointerOp]
    PREPARE_HAL_BUF(wcn->hal_buf, (*msg_body));
    ^
   drivers/net/wireless/ath/wcn36xx/smd.c:996:2: warning: Redundant pointer 
operation on 'msg_body' - it's already a pointer. [redundantPointerOp]
    PREPARE_HAL_BUF(wcn->hal_buf, (*msg_body));
    ^
   drivers/net/wireless/ath/wcn36xx/smd.c:1774:2: warning: Redundant pointer 
operation on 'msg_body' - it's already a pointer. [redundantPointerOp]
    PREPARE_HAL_BUF(wcn->hal_buf, (*msg_body));
    ^
>> drivers/net/wireless/ath/wcn36xx/smd.c:1815:2: warning: Redundant pointer 
>> operation on 'msg' - it's already a pointer. [redundantPointerOp]
    PREPARE_HAL_BUF(wcn->hal_buf, (*msg));
    ^

vim +147 drivers/net/ethernet/microchip/lan966x/lan966x_ptp.c

77eecf25bd9d2f Horatiu Vultur 2022-01-31  139  
77eecf25bd9d2f Horatiu Vultur 2022-01-31  140  static void 
lan966x_ptp_txtstamp_old_release(struct lan966x_port *port)
77eecf25bd9d2f Horatiu Vultur 2022-01-31  141  {
77eecf25bd9d2f Horatiu Vultur 2022-01-31  142   struct sk_buff *skb, *skb_tmp;
77eecf25bd9d2f Horatiu Vultur 2022-01-31  143   unsigned long flags;
77eecf25bd9d2f Horatiu Vultur 2022-01-31  144  
77eecf25bd9d2f Horatiu Vultur 2022-01-31  145   
spin_lock_irqsave(&port->tx_skbs.lock, flags);
77eecf25bd9d2f Horatiu Vultur 2022-01-31  146   
skb_queue_walk_safe(&port->tx_skbs, skb, skb_tmp) {
77eecf25bd9d2f Horatiu Vultur 2022-01-31 @147           if 
time_after(LAN966X_SKB_CB(skb)->jiffies + LAN966X_PTP_TIMEOUT,
77eecf25bd9d2f Horatiu Vultur 2022-01-31  148                         jiffies)
77eecf25bd9d2f Horatiu Vultur 2022-01-31  149                   break;
77eecf25bd9d2f Horatiu Vultur 2022-01-31  150  
77eecf25bd9d2f Horatiu Vultur 2022-01-31  151           __skb_unlink(skb, 
&port->tx_skbs);
77eecf25bd9d2f Horatiu Vultur 2022-01-31  152           dev_kfree_skb_any(skb);
77eecf25bd9d2f Horatiu Vultur 2022-01-31  153   }
77eecf25bd9d2f Horatiu Vultur 2022-01-31  154   
spin_unlock_irqrestore(&port->tx_skbs.lock, flags);
77eecf25bd9d2f Horatiu Vultur 2022-01-31  155  }
77eecf25bd9d2f Horatiu Vultur 2022-01-31  156  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to