From: Tom Rini Date: Fri, 7 Feb 2025 19:35:32 +0000 (-0600) Subject: Merge patch series "cmd/setexpr: support concatenation of direct strings" X-Git-Tag: v2025.04-rc2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac3dcb0c2710c4917d93d6d2eb34dbfb00516bc2;p=pandora-u-boot.git Merge patch series "cmd/setexpr: support concatenation of direct strings" Heinrich Schuchardt says: The setexpr.s command allows to concatenate two strings. According to the description in doc/usage/cmd/setexpr.rst the parameters value1 and value2 can be either direct values or pointers to a memory location holding the values. Unfortunately `setexpr.s + ` fails if any of the values is a direct value. $? is set to false. * Add support for direct values in setexpr.s. * Correct the unit test for "setexpr.s fred 0". * Add a new unit test for "setexpr.s fred '1' + '3'" giving '13'. * Remove invalid memory leak tests Link: https://lore.kernel.org/r/20250203151029.60265-1-heinrich.schuchardt@canonical.com --- ac3dcb0c2710c4917d93d6d2eb34dbfb00516bc2