Skip to content

Commit 38385f8

Browse files
masahir0ymichal42
authored andcommitted
kbuild: trivial - remove trailing spaces
Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Michal Marek <[email protected]>
1 parent 9319f45 commit 38385f8

10 files changed

+25
-25
lines changed

Diff for: Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export srctree objtree VPATH
162162
# SUBARCH tells the usermode build what the underlying arch is. That is set
163163
# first, and if a usermode build is happening, the "ARCH=um" on the command
164164
# line overrides the setting of ARCH below. If a native build is happening,
165-
# then ARCH is assigned, getting whatever value it gets normally, and
165+
# then ARCH is assigned, getting whatever value it gets normally, and
166166
# SUBARCH is subsequently ignored.
167167

168168
SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \
@@ -290,7 +290,7 @@ export KBUILD_CHECKSRC KBUILD_SRC KBUILD_EXTMOD
290290
# cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
291291
#
292292
# If $(quiet) is empty, the whole command will be printed.
293-
# If it is set to "quiet_", only the short version will be printed.
293+
# If it is set to "quiet_", only the short version will be printed.
294294
# If it is set to "silent_", nothing will be printed at all, since
295295
# the variable $(silent_cmd_cc_o_c) doesn't exist.
296296
#
@@ -869,7 +869,7 @@ ifdef CONFIG_BUILD_DOCSRC
869869
endif
870870
+$(call if_changed,link-vmlinux)
871871

872-
# The actual objects are generated when descending,
872+
# The actual objects are generated when descending,
873873
# make sure no implicit rule kicks in
874874
$(sort $(vmlinux-deps)): $(vmlinux-dirs) ;
875875

@@ -1484,7 +1484,7 @@ endif
14841484
$(build)=$(build-dir) $(@:.ko=.o)
14851485
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
14861486

1487-
# FIXME Should go into a make.lib or something
1487+
# FIXME Should go into a make.lib or something
14881488
# ===========================================================================
14891489

14901490
quiet_cmd_rmdirs = $(if $(wildcard $(rm-dirs)),CLEAN $(wildcard $(rm-dirs)))

Diff for: scripts/Makefile.build

+2-2
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ $(real-objs-m) : modkern_aflags := $(KBUILD_AFLAGS_MODULE) $(AFLAGS_MODULE)
281281
$(real-objs-m:.o=.s): modkern_aflags := $(KBUILD_AFLAGS_MODULE) $(AFLAGS_MODULE)
282282

283283
quiet_cmd_as_s_S = CPP $(quiet_modtag) $@
284-
cmd_as_s_S = $(CPP) $(a_flags) -o $@ $<
284+
cmd_as_s_S = $(CPP) $(a_flags) -o $@ $<
285285

286286
$(obj)/%.s: $(src)/%.S FORCE
287287
$(call if_changed_dep,as_s_S)
@@ -375,7 +375,7 @@ link_multi_deps = \
375375
$(filter $(addprefix $(obj)/, \
376376
$($(subst $(obj)/,,$(@:.o=-objs))) \
377377
$($(subst $(obj)/,,$(@:.o=-y)))), $^)
378-
378+
379379
quiet_cmd_link_multi-y = LD $@
380380
cmd_link_multi-y = $(LD) $(ld_flags) -r -o $@ $(link_multi_deps) $(cmd_secanalysis)
381381

Diff for: scripts/Makefile.fwinst

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ include $(srctree)/$(obj)/Makefile
1818
include scripts/Makefile.host
1919

2020
mod-fw := $(fw-shipped-m)
21-
# If CONFIG_FIRMWARE_IN_KERNEL isn't set, then install the
21+
# If CONFIG_FIRMWARE_IN_KERNEL isn't set, then install the
2222
# firmware for in-kernel drivers too.
2323
ifndef CONFIG_FIRMWARE_IN_KERNEL
2424
mod-fw += $(fw-shipped-y)

Diff for: scripts/Makefile.host

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,5 +166,5 @@ $(host-cshlib): $(obj)/%: $(host-cshobjs) FORCE
166166
$(call if_changed,host-cshlib)
167167

168168
targets += $(host-csingle) $(host-cmulti) $(host-cobjs)\
169-
$(host-cxxmulti) $(host-cxxobjs) $(host-cshlib) $(host-cshobjs)
169+
$(host-cxxmulti) $(host-cxxobjs) $(host-cshlib) $(host-cshobjs)
170170

Diff for: scripts/Makefile.lib

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ lib-y := $(filter-out $(obj-y), $(sort $(lib-y) $(lib-m)))
2727
# ---------------------------------------------------------------------------
2828
# o if we encounter foo/ in $(obj-y), replace it by foo/built-in.o
2929
# and add the directory to the list of dirs to descend into: $(subdir-y)
30-
# o if we encounter foo/ in $(obj-m), remove it from $(obj-m)
30+
# o if we encounter foo/ in $(obj-m), remove it from $(obj-m)
3131
# and add the directory to the list of dirs to descend into: $(subdir-m)
3232

3333
# Determine modorder.
@@ -46,7 +46,7 @@ obj-m := $(filter-out %/, $(obj-m))
4646

4747
subdir-ym := $(sort $(subdir-y) $(subdir-m))
4848

49-
# if $(foo-objs) exists, foo.o is a composite object
49+
# if $(foo-objs) exists, foo.o is a composite object
5050
multi-used-y := $(sort $(foreach m,$(obj-y), $(if $(strip $($(m:.o=-objs)) $($(m:.o=-y))), $(m))))
5151
multi-used-m := $(sort $(foreach m,$(obj-m), $(if $(strip $($(m:.o=-objs)) $($(m:.o=-y))), $(m))))
5252
multi-used := $(multi-used-y) $(multi-used-m)
@@ -91,7 +91,7 @@ obj-dirs := $(addprefix $(obj)/,$(obj-dirs))
9191

9292
# These flags are needed for modversions and compiling, so we define them here
9393
# already
94-
# $(modname_flags) #defines KBUILD_MODNAME as the name of the module it will
94+
# $(modname_flags) #defines KBUILD_MODNAME as the name of the module it will
9595
# end up in (or would, if it gets compiled in)
9696
# Note: Files that end up in two or more modules are compiled without the
9797
# KBUILD_MODNAME definition. The reason is that any made-up name would
@@ -212,7 +212,7 @@ $(obj)/%: $(src)/%_shipped
212212

213213
# Commands useful for building a boot image
214214
# ===========================================================================
215-
#
215+
#
216216
# Use as following:
217217
#
218218
# target: source(s) FORCE
@@ -226,7 +226,7 @@ $(obj)/%: $(src)/%_shipped
226226

227227
quiet_cmd_ld = LD $@
228228
cmd_ld = $(LD) $(LDFLAGS) $(ldflags-y) $(LDFLAGS_$(@F)) \
229-
$(filter-out FORCE,$^) -o $@
229+
$(filter-out FORCE,$^) -o $@
230230

231231
# Objcopy
232232
# ---------------------------------------------------------------------------

Diff for: scripts/conmakehash.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ int main(int argc, char *argv[])
104104
}
105105
}
106106

107-
/* For now we assume the default font is always 256 characters. */
107+
/* For now we assume the default font is always 256 characters. */
108108
fontlen = 256;
109109

110110
/* Initialize table */
@@ -236,15 +236,15 @@ int main(int argc, char *argv[])
236236
}
237237

238238
/* Okay, we hit EOF, now output hash table */
239-
239+
240240
fclose(ctbl);
241-
241+
242242

243243
/* Compute total size of Unicode list */
244244
nuni = 0;
245245
for ( i = 0 ; i < fontlen ; i++ )
246246
nuni += unicount[i];
247-
247+
248248
printf("\
249249
/*\n\
250250
* Do not edit this file; it was automatically generated by\n\
@@ -268,9 +268,9 @@ u8 dfont_unicount[%d] = \n\
268268
else
269269
printf(", ");
270270
}
271-
271+
272272
printf("\nu16 dfont_unitable[%d] = \n{\n\t", nuni);
273-
273+
274274
fp0 = 0;
275275
nent = 0;
276276
for ( i = 0 ; i < nuni ; i++ )

Diff for: scripts/kconfig/streamline_config.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ sub loop_select {
589589

590590
# Now we need to see if we have to check selects;
591591
loop_select;
592-
}
592+
}
593593

594594
my %setconfigs;
595595

Diff for: scripts/mkcompile_h

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ UTS_TRUNCATE="cut -b -$UTS_LEN"
6868

6969
( echo /\* This file is auto generated, version $VERSION \*/
7070
if [ -n "$CONFIG_FLAGS" ] ; then echo "/* $CONFIG_FLAGS */"; fi
71-
71+
7272
echo \#define UTS_MACHINE \"$ARCH\"
7373

7474
echo \#define UTS_VERSION \"`echo $UTS_VERSION | $UTS_TRUNCATE`\"
@@ -84,7 +84,7 @@ UTS_TRUNCATE="cut -b -$UTS_LEN"
8484
# recompilations.
8585
# We don't consider the file changed if only the date/time changed.
8686
# A kernel config change will increase the generation number, thus
87-
# causing compile.h to be updated (including date/time) due to the
87+
# causing compile.h to be updated (including date/time) due to the
8888
# changed comment in the
8989
# first line.
9090

Diff for: scripts/package/builddeb

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ if [ "$ARCH" = "um" ] ; then
130130
cp System.map "$tmpdir/usr/lib/uml/modules/$version/System.map"
131131
cp $KCONFIG_CONFIG "$tmpdir/usr/share/doc/$packagename/config"
132132
gzip "$tmpdir/usr/share/doc/$packagename/config"
133-
else
133+
else
134134
cp System.map "$tmpdir/boot/System.map-$version"
135135
cp $KCONFIG_CONFIG "$tmpdir/boot/config-$version"
136136
fi

Diff for: scripts/patch-kernel

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# Nick Holloway <[email protected]>, 2nd January 1995.
2828
#
2929
# Added support for handling multiple types of compression. What includes
30-
# gzip, bzip, bzip2, zip, compress, and plaintext.
30+
# gzip, bzip, bzip2, zip, compress, and plaintext.
3131
#
3232
# Adam Sulmicki <[email protected]>, 1st January 1997.
3333
#
@@ -159,7 +159,7 @@ applyPatch () {
159159
fi
160160
# Remove backup files
161161
find $sourcedir/ '(' -name '*.orig' -o -name '.*.orig' ')' -exec rm -f {} \;
162-
162+
163163
return 0;
164164
}
165165

0 commit comments

Comments
 (0)