fcst: Port to Linux kernel v5.10

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9314 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2021-01-03 02:46:48 +00:00
parent b474628992
commit 6b420cfb32
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -14,10 +14,16 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <scsi/libfc.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0)
#include <scsi/fc_encode.h>
#else
#include <scsi/fc/fc_ms.h>
#endif
#include "fcst.h"
/*
+6
View File
@@ -19,10 +19,16 @@
* You should have received a copy of the GNU General Public License along with
* this program.
*/
#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <scsi/libfc.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 10, 0)
#include <scsi/fc_encode.h>
#else
#include <scsi/fc/fc_ms.h>
#endif
#include "fcst.h"
/*