Skip to content

Conversation

@desalesouche
Copy link

TIMEC kernel/timeconst.h
defined(@array) is deprecated at kernel/timeconst.pl line 373.
(Maybe you should just omit the defined()?)
http://linux-kernel.2935.n7.nabble.com/PATCH-1-5-kbuild-remove-deprecated-use-of-defined-in-timeconst-pl-td556009.html

TIMEC   kernel/timeconst.h
defined(@array) is deprecated at kernel/timeconst.pl line 373.
  (Maybe you should just omit the defined()?)
http://linux-kernel.2935.n7.nabble.com/PATCH-1-5-kbuild-remove-deprecated-use-of-defined-in-timeconst-pl-td556009.html
This patch fixes the following 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 [-Wmaybe-uninitialized]
arch/arm/mm/alignment.c:749:21: note: 'offset.un' was declared here 
The fix is to promote the initialization of offset into do_alignment().
Signed-off-by: Cyril Chemparathy <cy...@ti.com>
@moddingg33k
Copy link
Contributor

The correct fix for the "offset.un" warning should rather look like this: https://www.codeaurora.org/cgit/quic/la/kernel/msm/commit/arch/arm/mm/alignment.c?h=msm-3.4&id=7d1716597cc9049da73ece31c67f2c1e6879ee6d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants