Advertisement
yerden

SNF v3.0.23 Centos 8.2 patch

Dec 27th, 2020
1,172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.98 KB | None | 0 0
  1. diff -Naur ../snf_orig/src/driver/linux/kbuild/mx.c ./src/driver/linux/kbuild/mx.c
  2. --- ../snf_orig/src/driver/linux/kbuild/mx.c    2020-07-07 20:51:05.000000000 +0600
  3. +++ ./src/driver/linux/kbuild/mx.c      2020-12-26 20:19:00.268751631 +0600
  4. @@ -1123,7 +1123,7 @@
  5.    int node_id = -1;
  6.  
  7.    if (current) {
  8. -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,3,0)
  9. +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,18,0)
  10.      cpumap = current->cpus_mask;
  11.  #else
  12.      cpumap = current->cpus_allowed;
  13. diff -Naur ../snf_orig/src/driver/linux/kbuild/mx_ether.c ./src/driver/linux/kbuild/mx_ether.c
  14. --- ../snf_orig/src/driver/linux/kbuild/mx_ether.c      2020-07-07 20:51:05.000000000 +0600
  15. +++ ./src/driver/linux/kbuild/mx_ether.c        2020-12-26 20:19:14.744591405 +0600
  16. @@ -1647,7 +1647,7 @@
  17.  }
  18.  
  19.  void
  20. -mx_ether_timeout(struct net_device *dev)
  21. +mx_ether_timeout(struct net_device *dev, unsigned int n)
  22.  {
  23.         struct mx_ether *eth = mx_netdev_priv(dev);
  24.         mx_instance_state_t *is;
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement