NIOS2: fix for v5.15, part 2
Hi Linus,
Please pull this fix for NIOS2 for v5.15.
Thanks,
Dinh
The following changes since commit 519d81956ee277b4419c723adfb154603c2565ba:
Linux 5.15-rc6 (2021-10-17 20:00:13 -1000)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git tags/nios2_fixes_for_v5.15_part2
for you to fetch changes up to 4cce60f15c04d69eff6ffc539ab09137dbe15070:
NIOS2: irqflags: rename a redefined register name (2021-10-18 11:22:59 -0500)
----------------------------------------------------------------
NIOS2 fixes for v5.15, part 2
- Renamed CTL_STATUS to CTL_FSTATUS to fix a redefined warning
----------------------------------------------------------------
Randy Dunlap (1):
NIOS2: irqflags: rename a redefined register name
arch/nios2/include/asm/irqflags.h | 4 ++-- arch/nios2/include/asm/registers.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
Quoted 2 lines · Dinh Nguyen
- Renamed
CTL_STATUStoCTL_FSTATUSto fix a redefined warning
Hmm. That's still some very generic names exposed in a arch header file that seems to get included (indirectly) almost everywhere.
I've pulled this, but I would suggest you name those flags not "CTL" but something that is more exclusive to nios2.
Btw, the same goes for some of the other macros in there that are currently unique - like "RDCTL". That's a name that I can see a driver using internally, and with nios2 being so unusual, it would take potentially a longish time before anybody even noticed.
Linus
The pull request you sent on Mon, 18 Oct 2021 14:59:45 -0500:
The pull request you sent on Mon, 18 Oct 2021 14:59:45 -0500:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.gittags/nios2_fixes_for_v5.15_part2
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1e59977463e9894e3d579d4e1e2a1dc81f456633
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html