OFS / linux-dfl-backport

Backport version of the linux-dfl (Device Feature List) kernel driver for FPGA devices. This is an out-of-tree driver, designed to be built, packaged, and installed as a stand-alone set of driver modules.
GNU General Public License v2.0
3 stars 11 forks source link

backport: change dev_err_probe to dev_err for older kernels #68

Closed rweight closed 1 year ago

rweight commented 1 year ago

The dev_err_probe() function was added to the linux kernel starting with 5.9. In the qsfp_mem driver, dev_err_probe() is only used for the print function. For pre 5.9 kernels, change to dev_err().

Signed-off-by: Russ Weight russell.h.weight@intel.com