Skip to content

Commit

Permalink
fix build error shift-count-overflow
Browse files Browse the repository at this point in the history
Signed-off-by: lipengfei28 <[email protected]>
  • Loading branch information
lipengfei28 authored and GUIDINGLI committed Oct 18, 2024
1 parent 8cc2fbf commit e259aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@ static int pci_enable_msix(FAR struct pci_device_s *dev, FAR int *irq,
pci_write_mmio_dword(dev, tbladdr + PCI_MSIX_ENTRY_LOWER_ADDR, mar);

pci_write_mmio_dword(dev, tbladdr + PCI_MSIX_ENTRY_UPPER_ADDR,
(mar >> 32));
((uint64_t)mar >> 32));

/* Write Message Data Register */

Expand Down

0 comments on commit e259aba

Please sign in to comment.