Open CAS Linux kernel 5.18 support
This patch introduces the support for 5.18 kernel. Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright(c) 2012-2021 Intel Corporation
|
||||
# Copyright(c) 2012-2022 Intel Corporation
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
||||
|
||||
obj-m += test_mod.o
|
||||
|
||||
MAKE_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||
@@ -13,9 +13,9 @@ check_cflag=$(shell echo "" | \
|
||||
if [ $$? -eq 0 ]; then echo 1; else echo 0; fi; )
|
||||
|
||||
ifeq ($(call check_cflag,-Werror=int-conversion), 1)
|
||||
EXTRA_CFLAGS += -Werror=int-conversion
|
||||
EXTRA_CFLAGS += -Werror=int-conversion
|
||||
endif
|
||||
|
||||
KBUILD_CFLAGS += -Wno-error
|
||||
all:
|
||||
make -C $(KERNEL_DIR) M=$(MAKE_DIR) modules
|
||||
clean:
|
||||
|
Reference in New Issue
Block a user