aboutsummaryrefslogtreecommitdiff
path: root/kernel-features.c
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@shadowen.org>2008-10-20 14:12:03 +0100
committerEric B Munson <ebmunson@us.ibm.com>2008-10-21 11:56:37 +0100
commit0124458f87d3071176fe63df90cdfbdfc6a2f465 (patch)
tree3a6bd064589eec56e2d263bba53e9cccf181107a /kernel-features.c
parentffb6a9eedc125825ecfe2be4cab09c706aae41db (diff)
downloadlibhugetlbfs-0124458f87d3071176fe63df90cdfbdfc6a2f465.tar.gz
whitespace: cleanup whitespace breakage2.1-pre3
We have developed a far amount of whitespace damage over time. Do a one off cleanup of all of the breakage now. Signed-off-by: Andy Whitcroft <apw@shadowen.org> Signed-off-by: Eric B Munson <ebmunson@us.ibm.com>
Diffstat (limited to 'kernel-features.c')
-rw-r--r--kernel-features.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel-features.c b/kernel-features.c
index 89f76b6..8a80117 100644
--- a/kernel-features.c
+++ b/kernel-features.c
@@ -41,7 +41,7 @@ static struct feature kernel_features[] = {
.name = "private_reservations",
.required_version = "2.6.27-rc1",
},
-};
+};
static void debug_kernel_version(void)
{
@@ -82,7 +82,7 @@ static int str_to_ver(const char *str, struct kernel_version *ver)
/* Advance the str by the number of characters indicated by sscanf */
str += nr_chars;
-
+
/* Try to match a post/stable version */
err = sscanf(str, ".%u", &ver->post);
if (err == 1)
@@ -225,7 +225,7 @@ void setup_features()
struct kernel_version ver;
char *name = kernel_features[i].name;
char *pos;
-
+
str_to_ver(kernel_features[i].required_version, &ver);
/* Has the user overridden feature detection? */
@@ -247,5 +247,5 @@ void setup_features()
kernel_features[i].name);
feature_mask |= (1UL << i);
}
- }
+ }
}