Bug 271920 - ARMADAXP fails to compile, in mvs_soc.c
Summary: ARMADAXP fails to compile, in mvs_soc.c
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: arm Any
: --- Affects Only Me
Assignee: Warner Losh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-09 15:06 UTC by Mina Galić
Modified: 2024-02-19 03:46 UTC (History)
0 users

See Also:
imp: mfc-stable13+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mina Galić freebsd_triage 2023-06-09 15:06:26 UTC
--- mvs_soc.o ---                                                            /poudriere/jails/14-current-armv7/usr/src/sys/dev/mvs/mvs_soc.c:211:42: error: variable 'ccim' set but not used [-Werror,-Wunused-but-set-variable]               int ccc = ctlr->ccc, cccc = ctlr->cccc, ccim = 0;                                                                    ^                            1 error generated.                                                           *** [mvs_soc.o] Error code 1
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-06-09 23:22:01 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=17dce737e305891c88e2410469cd23d8cfad1ca3

commit 17dce737e305891c88e2410469cd23d8cfad1ca3
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-06-09 23:18:54 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-06-09 23:21:40 +0000

    mvs: Eliminate unused variable.

    ccim is unused. Just remove it.

    PR: 271920
    Sponsored by:           Netflix

 sys/dev/mvs/mvs_soc.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2024-01-10 05:52:14 UTC
^Triage: assign to committer that resolved.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-02-19 03:46:13 UTC
A commit in branch stable/13 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=d9b466296bdd1aa3b25b0cb6f0f546af21e55c62

commit d9b466296bdd1aa3b25b0cb6f0f546af21e55c62
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-06-09 23:18:54 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-02-19 03:43:00 +0000

    mvs: Eliminate unused variable.

    ccim is unused. Just remove it.

    PR: 271920
    Sponsored by:           Netflix

    (cherry picked from commit 17dce737e305891c88e2410469cd23d8cfad1ca3)

 sys/dev/mvs/mvs_soc.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)