Revision 444f84fd2ac7bae36f3dd3ce1d39d11211c2c72a authored by Ben Dooks on 19 October 2019, 03:20:17 UTC, committed by Linus Torvalds on 19 October 2019, 10:32:32 UTC
Include <linux/huge_mm.h> for the definition of is_vma_temporary_stack
to fix the following sparse warning:

  mm/rmap.c:1673:6: warning: symbol 'is_vma_temporary_stack' was not declared. Should it be static?

Link: http://lkml.kernel.org/r/20191009151155.27763-1-ben.dooks@codethink.co.uk
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Qian Cai <cai@lca.pw>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent f7daefe
Raw File
ql4_bsg.h
/*
 * QLogic iSCSI HBA Driver
 * Copyright (c) 2011 QLogic Corporation
 *
 * See LICENSE.qla4xxx for copyright and licensing details.
 */
#ifndef __QL4_BSG_H
#define __QL4_BSG_H

/* BSG Vendor specific commands */
#define QLISCSI_VND_READ_FLASH		1
#define QLISCSI_VND_UPDATE_FLASH	2
#define QLISCSI_VND_GET_ACB_STATE	3
#define QLISCSI_VND_READ_NVRAM		4
#define QLISCSI_VND_UPDATE_NVRAM	5
#define QLISCSI_VND_RESTORE_DEFAULTS	6
#define QLISCSI_VND_GET_ACB		7
#define QLISCSI_VND_DIAG_TEST		8

/* QLISCSI_VND_DIAG_CMD sub code */
#define QL_DIAG_CMD_TEST_DDR_SIZE	0x2
#define QL_DIAG_CMD_TEST_DDR_RW		0x3
#define QL_DIAG_CMD_TEST_ONCHIP_MEM_RW	0x4
#define QL_DIAG_CMD_TEST_NVRAM		0x5	/* Only ISP4XXX */
#define QL_DIAG_CMD_TEST_FLASH_ROM	0x6
#define QL_DIAG_CMD_TEST_INT_LOOPBACK	0x7
#define QL_DIAG_CMD_TEST_EXT_LOOPBACK	0x8
#define QL_DIAG_CMD_TEST_DMA_XFER	0x9	/* Only ISP4XXX */
#define QL_DIAG_CMD_SELF_DDR_RW		0xC
#define QL_DIAG_CMD_SELF_ONCHIP_MEM_RW	0xD

#endif
back to top