On Fri, 13 Jun 2014, Guenter Roeck wrote:
> If compiled with W=1, the following warning is seen in arm builds.
>
> arch/arm/kernel/topology.c:278:25: warning:
> type qualifiers ignored on function return type
>
> This is caused by a function returning 'const int', which doesn't
> make
On Fri, 13 Jun 2014, Guenter Roeck wrote:
If compiled with W=1, the following warning is seen in arm builds.
arch/arm/kernel/topology.c:278:25: warning:
type qualifiers ignored on function return type
This is caused by a function returning 'const int', which doesn't
make sense to
If compiled with W=1, the following warning is seen in arm builds.
arch/arm/kernel/topology.c:278:25: warning:
type qualifiers ignored on function return type
This is caused by a function returning 'const int', which doesn't
make sense to gcc. Drop 'const' to fix the problem.
If compiled with W=1, the following warning is seen in arm builds.
arch/arm/kernel/topology.c:278:25: warning:
type qualifiers ignored on function return type
This is caused by a function returning 'const int', which doesn't
make sense to gcc. Drop 'const' to fix the problem.
> What it's caused by is do_alignment_t32_to_handler(), and its assignment
> through a pointer of this variable. You can see that this is the cause
> because the patch below fixes the warning.
We couldn't fix the warning with your patch. the patch below fixes it instead.
IMHO, gcc can't seems to
On Mon, Sep 10, 2012 at 12:25:15PM +0900, Chanho Min wrote:
> Fix the following build warning:
>
> arch/arm/mm/alignment.c: In function 'do_alignment':
> arch/arm/mm/alignment.c:327:15: warning: 'offset.un' may be used
> uninitialized in this function [-Wuninitialized]
>
On Mon, Sep 10, 2012 at 12:25:15PM +0900, Chanho Min wrote:
Fix the following build warning:
arch/arm/mm/alignment.c: In function 'do_alignment':
arch/arm/mm/alignment.c:327:15: warning: 'offset.un' may be used
uninitialized in this function [-Wuninitialized]
arch/arm/mm/alignment.c:749:21:
What it's caused by is do_alignment_t32_to_handler(), and its assignment
through a pointer of this variable. You can see that this is the cause
because the patch below fixes the warning.
We couldn't fix the warning with your patch. the patch below fixes it instead.
IMHO, gcc can't seems to
Fix the following build warning:
arch/arm/mm/alignment.c: In function 'do_alignment':
arch/arm/mm/alignment.c:327:15: warning: 'offset.un' may be used
uninitialized in this function [-Wuninitialized]
arch/arm/mm/alignment.c:749:21: note: 'offset.un' was declared here
Signed-off-by: Chanho Min
Fix the following build warning:
arch/arm/mm/alignment.c: In function 'do_alignment':
arch/arm/mm/alignment.c:327:15: warning: 'offset.un' may be used
uninitialized in this function [-Wuninitialized]
arch/arm/mm/alignment.c:749:21: note: 'offset.un' was declared here
Signed-off-by: Chanho Min
10 matches
Mail list logo