scst/include/backport.h: Modifications for script/specialize-patch

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8403 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-05-31 01:56:57 +00:00
parent 0344c58941
commit c03d826b95

View File

@@ -907,7 +907,7 @@ static inline void *kvzalloc(size_t size, gfp_t flags)
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 18, 0) && \
(!defined(MOFED_MAJOR) || !defined(MOFED_MINOR) || \
MOFED_MAJOR < 4 || (MOFED_MAJOR == 4 && MOFED_MINOR < 5))
MOFED_MAJOR -0 < 4 || (MOFED_MAJOR -0 == 4 && MOFED_MINOR -0 < 5))
/* See also commit 1c542f38ab8d ("mm: Introduce kvcalloc()") # v4.18. */
static inline void *kvcalloc(size_t n, size_t size, gfp_t flags)
{