mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
qla2x00t-32gbit: Fix two recently introduced build errors
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9074 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -2032,6 +2032,16 @@ enum {
|
||||
#define wwn_to_u64(wwn) get_unaligned_be64(wwn)
|
||||
#endif
|
||||
|
||||
/* <uapi/scsi/fc/fc_els.h> */
|
||||
|
||||
/*
|
||||
* 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
|
||||
|
||||
/* <target/target_core_base.h> */
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 19, 0)
|
||||
|
||||
Reference in New Issue
Block a user