Skip to content

Commit

Permalink
Remove trailing whitespace from conftest
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitepone authored and aritger committed May 25, 2022
1 parent a9924b6 commit af26e1e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions kernel-open/conftest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -628,10 +628,10 @@ compile_test() {
set_pages_array_uc)
#
# Determine if the set_pages_array_uc() function is present.
# It does not exist on all architectures.
#
# set_pages_array_uc() was added by commit
# 0f3507555f6fa4acbc85a646d6e8766230db38fc ("x86, CPA: Add
# It does not exist on all architectures.
#
# set_pages_array_uc() was added by commit
# 0f3507555f6fa4acbc85a646d6e8766230db38fc ("x86, CPA: Add
# set_pages_arrayuc and set_pages_array_wb") in v2.6.30-rc1 (Thu Mar
# 19 14:51:15 2009)
#
Expand Down Expand Up @@ -1040,7 +1040,7 @@ compile_test() {
#
# Determine if mdev_get_type_group_id() function is present or not
#
# Added by commit 15fcc44be0c7a ("vfio/mdev: Add
# Added by commit 15fcc44be0c7a ("vfio/mdev: Add
# mdev/mtype_get_type_group_id()") in v5.13
#
CODE="
Expand Down Expand Up @@ -1250,7 +1250,7 @@ compile_test() {
#
# The commit c28198889c15 removed the function
# 'PDE_DATA()', and replaced it with 'pde_data()'
# ("proc: remove PDE_DATA() completely") in v5.17-rc1.
# ("proc: remove PDE_DATA() completely") in v5.17-rc1.
#
CODE="
#include <linux/proc_fs.h>
Expand Down Expand Up @@ -3965,7 +3965,7 @@ compile_test() {
#
# Determine if the 'struct proc_ops' type is present.
#
# Added by commit d56c0d45f0e2 ("proc: decouple proc from VFS with
# Added by commit d56c0d45f0e2 ("proc: decouple proc from VFS with
# "struct proc_ops"") in 5.6-rc1
#
CODE="
Expand Down Expand Up @@ -4691,7 +4691,7 @@ compile_test() {
#
# Note: KERNELRELEASE and ARCH are defined by Kbuild and automatically
# passed down to conftest.sh as env vars.

MLNX_OFED_KERNEL_DIR=/usr/src/ofa_kernel
VAR_DKMS_SOURCES_DIR=$(test -d /var/lib/dkms/mlnx-ofed-kernel &&
ls -d /var/lib/dkms/mlnx-ofed-kernel/*/build 2>/dev/null)
Expand Down Expand Up @@ -5378,7 +5378,7 @@ case "$5" in
# version gcc 3.2.3
#
# As of this writing, GCC uses a version number as x.y.z and below
# are the typical version strings seen with various distributions.
# are the typical version strings seen with various distributions.
# gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-23)
# gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)
# gcc (GCC) 8.3.1 20190507 (Red Hat 8.3.1-4)
Expand All @@ -5390,7 +5390,7 @@ case "$5" in
#
# In order to extract GCC version correctly for version strings
# like the last one above, we first check for x.y.z and if that
# fails, we fallback to x.y format.
# fails, we fallback to x.y format.
VERBOSE=$6

kernel_compile_h=$OUTPUT/include/generated/compile.h
Expand Down

0 comments on commit af26e1e

Please sign in to comment.