xen: fix GCC warning and remove duplicate EVTCHN_ROW/EVTCHN_COL usage
Subsystems (2)
PATCH 1/1 xen: fix GCC warning and remove duplicate EVTCHN_ROW/EVTCHN_COL usage
This patch removes duplicate macro useage in events_base.c.
It also fixes gcc warning:
variable ‘col’ set but not used [-Wunused-but-set-variable]
--- drivers/xen/events/events_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/xen/events/events_base.c +1 -1
@@ -138,7 +138,7 @@ static int set_evtchn_to_irq(unsigned evtchn, unsigned irq)clear_evtchn_to_irq_row (row); } - evtchn_to_irq[EVTCHN_ROW (evtchn)][EVTCHN_COL (evtchn)] = irq; + evtchn_to_irq[row][col] = irq;return 0 ; }
Signature · 1 line
2.17.1
Quoted 6 lines · Josh Abraham
This patch removes duplicate macro useage in
events_base.c.It also fixes gcc warning:
variable ‘col’ set but not used [-Wunused-but-set-variable]Signed-off-by Joshua Abraham <[email protected]>
Juergen
Boris Ostrovsky
AppliedQuoted 8 lines · Juergen Gross
Quoted 6 lines · Josh Abraham
This patch removes duplicate macro useage in
events_base.c.It also fixes gcc warning:
variable ‘col’ set but not used [-Wunused-but-set-variable]Signed-off-by Joshua Abraham <[email protected]>Reviewed-by Juergen Gross <[email protected]>
Applied to for-linux-4.19b.
-boris
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Boris Ostrovsky
AppliedQuoted 8 lines · Juergen Gross
Quoted 6 lines · Josh Abraham
This patch removes duplicate macro useage in
events_base.c.It also fixes gcc warning:
variable ‘col’ set but not used [-Wunused-but-set-variable]Signed-off-by Joshua Abraham <[email protected]>Reviewed-by Juergen Gross <[email protected]>
Applied to for-linux-4.19b.
-boris
Quoted 6 lines · Josh Abraham
This patch removes duplicate macro useage in
events_base.c.It also fixes gcc warning:
variable ‘col’ set but not used [-Wunused-but-set-variable]Signed-off-by Joshua Abraham <[email protected]>
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel