From 166cbdec5b042f28badedd09da1203c9a1feccfc Mon Sep 17 00:00:00 2001 From: Frans Hendriks Date: Thu, 22 Nov 2018 14:21:12 +0100 Subject: [PATCH] util/cbfstool/rmodule.{c,h}: Fix typo and correct header Header contains ':' in copyright line. rmdoule is a typo Remove the ';' and correct typo to rmodule. BUG=N/A TEST=N/A Change-Id: I05b1fb80a81682646c9fba3d234de235b6bc9e8c Signed-off-by: Frans Hendriks Reviewed-on: https://review.coreboot.org/c/29794 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: HAOUAS Elyes --- util/cbfstool/rmodule.c | 5 +++-- util/cbfstool/rmodule.h | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/util/cbfstool/rmodule.c b/util/cbfstool/rmodule.c index 07957cb474..ff8f1cdef2 100644 --- a/util/cbfstool/rmodule.c +++ b/util/cbfstool/rmodule.c @@ -1,5 +1,6 @@ /* - ;* Copyright (C) 2014 Google, Inc. + * Copyright (C) 2014 Google, Inc. + * Copyright (C) 2018 Eltan B.V. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -540,7 +541,7 @@ write_elf(const struct rmod_context *ctx, const struct buffer *in, * section and the relocations can fit entirely within occupied memory * region for the program. The other is that the relocations increase * the memory footprint of the program if it was loaded directly into - * the region it would run. The rmdoule header is a fixed cost that + * the region it would run. The rmodule header is a fixed cost that * is considered a part of the program. */ total_size += buffer_size(&rmod_header); diff --git a/util/cbfstool/rmodule.h b/util/cbfstool/rmodule.h index 192928aeea..abd8c027ac 100644 --- a/util/cbfstool/rmodule.h +++ b/util/cbfstool/rmodule.h @@ -1,5 +1,6 @@ /* * Copyright (C) 2014 Google, Inc. + * Copyright (C) 2018 Eltan B.V. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -81,7 +82,7 @@ int rmodule_init(struct rmod_context *ctx, const struct buffer *elfin); */ int rmodule_collect_relocations(struct rmod_context *c, struct reloc_filter *f); -/* Clean up the memory consumed by the rmdoule context. */ +/* Clean up the memory consumed by the rmodule context. */ void rmodule_cleanup(struct rmod_context *ctx); /*