From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gray Remlin Date: Wed, 18 May 2011 20:32:52 +0100 Subject: [U-Boot] [RFC] Duplicated string prefix Message-ID: <4DD41EE4.3010009@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The string prefixes "*** ERROR:" and "WARNING:" (or variations thereof) is duplicated numerous times throughout u-boot. Replacing with e.g. a 'putserr' function which prepends the string prefix to the unique part of the error message and then displays it may be a worthwhile space saving.