The /usr/src/ofa_kernel/default/include/linux/module.h file was changed. The current logic checks HAVE___EXPORT_SYMBOL_NS to decide between stringified and non-stringified definitions, with an empty fallback if MODULE_IMPORT_NS is undefined. This breaks the SCST build. Here are the changes I made to the module.h file to get the build to work:
#ifndef _COMPAT_LINUX_MODULE_H
define _COMPAT_LINUX_MODULE_H
include “../../compat/config.h”
#include_next <linux/module.h>
include <linux/version.h>
#ifdef MODULE_IMPORT_NS
#undef MODULE_IMPORT_NS
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 17, 0)
define MODULE_IMPORT_NS(ns) MODULE_INFO(import_ns, #ns)
#else
define MODULE_IMPORT_NS(ns)
endif
#else
define MODULE_IMPORT_NS(ns)
endif
endif /* _COMPAT_LINUX_MODULE_H */