diff --git a/qla2x00t-32gbit/qla_os.c b/qla2x00t-32gbit/qla_os.c index 5d8a00083..0d962ae1a 100644 --- a/qla2x00t-32gbit/qla_os.c +++ b/qla2x00t-32gbit/qla_os.c @@ -6378,8 +6378,7 @@ dealloc: rsp_els, rsp_els_dma); } -static void -qla24xx_free_purex_item(struct purex_item *item) +void qla24xx_free_purex_item(struct purex_item *item) { if (item == &item->vha->default_item) memset(&item->vha->default_item, 0, sizeof(struct purex_item)); diff --git a/scst/include/backport.h b/scst/include/backport.h index 1bf291991..5ec336841 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -2032,6 +2032,16 @@ enum { #define wwn_to_u64(wwn) get_unaligned_be64(wwn) #endif +/* */ + +/* + * See also commit 62e9dd177732 ("scsi: qla2xxx: Change in PUREX to handle FPIN + * ELS requests"). + */ +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 9, 0) +#define ELS_RDP 0x18 +#endif + /* */ #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 19, 0)