Re: [PATCH] drivers: net: xgene: Pre-initialize ret in xgene_enet_get_resources()
From: David Miller
Date: Sun Jun 28 2015 - 19:55:00 EST
From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Date: Thu, 25 Jun 2015 15:13:29 +0200
> If CONFIG_ACPI=n:
>
> drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ʽxgene_enet_get_resourcesʼ:
> drivers/net/ethernet/apm/xgene/xgene_enet_main.c:951: warning: ʽretʼ may be used uninitialized in this function
>
> If the driver is bound to a legacy platform device, ret will contain
> arbitrary data. If it is non-zero, it will be returned to the caller as
> an error code.
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Applied.
N?§²ζμrΈ?yϊθ?Ψb²X¬ΆΗ§vΨ^?)ήΊ{.nΗ+?·??{±?κηzX§Ά?ʽά¨}©?²Ζ zΪ&j:+v?¨Ύ«?κηzZ+?Κ+zf£ʼ·h??§~??Ϋi?ϋΰzΉ?w?ʼΈ??¨θΪ&ʼ)ίʼf?ω^jΗ«y§m?α@A«aΆΪ?0Άμh?ε?i