diff options
author | 2020-07-08 17:22:37 -0700 | |
---|---|---|
committer | 2020-07-09 14:54:01 -0700 | |
commit | b734cfd607de2050b9c477d2ede4941bd549e51d (patch) | |
tree | a9fd8927d7222e9a3a66d60a11509addff78341d /tests/integer-expressions.c | |
parent | 4b9b2da7a79260746ac8698e441c69d004379e83 (diff) | |
parent | 9d7888cbf19c2930992844e69a097dc71e5a7354 (diff) |
Update dtc to 1.6.0
Upstream commit 9d7888cbf19c.
Bug: 160825200
Change-Id: I1f8c79f09190af4025b186166a25b745710f2871
Diffstat (limited to 'tests/integer-expressions.c')
-rw-r--r-- | tests/integer-expressions.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/tests/integer-expressions.c b/tests/integer-expressions.c index ed1f967..6f33d81 100644 --- a/tests/integer-expressions.c +++ b/tests/integer-expressions.c @@ -1,21 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * Testcase for dtc expression support * * Copyright (C) 2008 David Gibson, IBM Corporation. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation; either version 2.1 of - * the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #include <stdlib.h> @@ -97,7 +84,7 @@ int main(int argc, char *argv[]) res = fdt_getprop(fdt, 0, "expressions", &reslen); if (!res) - FAIL("Error retreiving expression results: %s\n", + FAIL("Error retrieving expression results: %s\n", fdt_strerror(reslen)); if (reslen != (ARRAY_SIZE(expr_table) * sizeof(uint32_t))) |