[U-Boot] [PATCH] test/dm/core.c: Make pre-reloc test use pre-reloc struct

Simon Glass sjg at chromium.org
Sat Apr 9 18:09:26 CEST 2016


On 29 March 2016 at 03:42, Simon Glass <sjg at chromium.org> wrote:
> On 21 March 2016 at 03:10, Tom Rini <trini at konsulko.com> wrote:
>>
>> LLVM 3.5 noted:
>> test/dm/core.c:41:35: warning: unused variable 'test_pdata_pre_reloc' [-Wunused-const-variable]
>> static const struct dm_test_pdata test_pdata_pre_reloc = {
>>
>> And the correct fix here is that the driver_info_pre_reloc test should
>> use the test_pdata_pre_reloc not test_pdata_manual variable
>>
>> Cc: Simon Glass <sjg at chromium.org>
>> Signed-off-by: Tom Rini <trini at konsulko.com>
>> ---
>>  test/dm/core.c |    2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> Unfortunately it seems there is no test that actually uses this.

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list