On 3/11/24 12:37, Dan Carpenter wrote:
> On Fri, Mar 08, 2024 at 02:34:04PM +0100, Patrice Chotard wrote:
>> Move variable declaration at the beginning of the function.
>>
>
> The problem, presumably, is that when declarations are in the middle of
> a block then it triggers a GCC warning.
On 2024-03-11 12:37, Dan Carpenter wrote:
On Fri, Mar 08, 2024 at 02:34:04PM +0100, Patrice Chotard wrote:
Move variable declaration at the beginning of the function.
The problem, presumably, is that when declarations are in the middle of
a block then it triggers a GCC warning. "declarations
On Fri, Mar 08, 2024 at 02:34:04PM +0100, Patrice Chotard wrote:
> Move variable declaration at the beginning of the function.
>
The problem, presumably, is that when declarations are in the middle of
a block then it triggers a GCC warning. "declarations after code" or
whatever... The commit
Hello Patrice,
Please, see my comment below.
On 2024-03-08 14:34, Patrice Chotard wrote:
Move variable declaration at the beginning of the function.
Fixes: 163c5f60ebb4 ("fdt_support: add fdt_copy_fixed_partitions
function")
Signed-off-by: Patrice Chotard
---
boot/fdt_support.c | 6
Move variable declaration at the beginning of the function.
Fixes: 163c5f60ebb4 ("fdt_support: add fdt_copy_fixed_partitions function")
Signed-off-by: Patrice Chotard
---
boot/fdt_support.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/boot/fdt_support.c
5 matches
Mail list logo