mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
irq_remap: Fix the 'sub_handle' uninitialized warning
Fix this uninitialized variable warning: drivers/iommu/intel_irq_remapping.c:986:12: warning: ‘sub_handle’ may be used uninitialized in this function [-Wuninitialized] GCC is wrong, help it out. Signed-off-by: Suresh Siddha <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Joerg Roedel <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
82b481e80d
commit
c558df4a01
1 changed files with 1 additions and 1 deletions
|
|
@ -964,7 +964,7 @@ static void intel_compose_msi_msg(struct pci_dev *pdev,
|
|||
{
|
||||
struct irq_cfg *cfg;
|
||||
struct irte irte;
|
||||
u16 sub_handle;
|
||||
u16 sub_handle = 0;
|
||||
int ir_index;
|
||||
|
||||
cfg = irq_get_chip_data(irq);
|
||||
|
|
|
|||
Loading…
Reference in a new issue