incubator-nuttx/drivers
Bowen Wang 143466baed drivers/pci: fix pci framework warning in 32bit chip
In file included from pci/pci.c:30:
pci/pci.c: In function 'pci_setup_device':
pci/pci.c:449:66: warning: right shift count >= width of type [-Wshift-count-overflow]
  449 |           pci_write_config_dword(dev, base_address_1, res->start >> 32);
      |                                                                  ^~
pci/pci.c: In function 'pci_presetup_bridge':
pci/pci.c:541:51: warning: right shift count >= width of type [-Wshift-count-overflow]
  541 |                              ctrl->mem_pref.start >> 32);
      |                                                   ^~
pci/pci.c: In function 'pci_postsetup_bridge':
pci/pci.c:604:57: warning: right shift count >= width of type [-Wshift-count-overflow]
  604 |                              (ctrl->mem_pref.start - 1) >> 32);
      |                                                         ^~
CC:  pthread/pthread_release.c pci/pci_ecam.c:71:12: warning: initialization of 'int (*)(struct pci_bus_s *, unsigned int,  int,  int,  uint32_t *)' {aka 'int (*)(struct pci_bus_s *, unsigned int,  int,  int,  long unsigned int *)'} from incompatible pointer type 'int (*)(struct pci_bus_s *, uint32_t,  int,  int,  uint32_t *)' {aka 'int (*)(struct pci_bus_s *, long unsigned int,  int,  int,  long unsigned int *)'} [-Wincompatible-pointer-types]
   71 |   .read  = pci_ecam_read_config,
      |            ^~~~~~~~~~~~~~~~~~~~
pci/pci_ecam.c:71:12: note: (near initialization for 'g_pci_ecam_ops.read')
pci/pci_ecam.c:72:12: warning: initialization of 'int (*)(struct pci_bus_s *, unsigned int,  int,  int,  uint32_t)' {aka 'int (*)(struct pci_bus_s *, unsigned int,  int,  int,  long unsigned int)'} from incompatible pointer type 'int (*)(struct pci_bus_s *, uint32_t,  int,  int,  uint32_t)' {aka 'int (*)(struct pci_bus_s *, long unsigned int,  int,  int,  long unsigned int)'} [-Wincompatible-pointer-types]
   72 |   .write = pci_ecam_write_config,

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
2024-10-13 02:28:32 +08:00
..
1wire nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
analog Check if the lower half is initialized for af_channel and af_data 2024-09-30 15:46:58 +08:00
audio audio: update audio null driver 2024-10-07 13:33:34 +08:00
bch drivers/bch: ioctl() - BIOC_FLUSH: Add calling ioctl() of block driver 2024-09-27 00:12:43 +08:00
can char driver CAN: add tx_confirm function in upperCAN driver. 2024-10-02 21:22:07 +08:00
clk nuttx/drivers: add ept_release_cb for destroy server resource 2024-10-10 08:44:29 +08:00
contactless nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
coresight drivers/coresight:Add TRFCR_EL1 initialization 2024-10-09 08:37:48 +08:00
crypto nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
devicetree pci: fix compile failed, fdt_get_reg_base() need 3 args 2024-10-09 02:18:49 +08:00
dma
dummy
eeprom nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
efuse
i2c driver: Post sempahore only when it's value is smaller than one 2024-10-13 02:12:01 +08:00
i2s nuttx: use sizeof instead of define or number in snprintf 2024-08-25 19:22:15 +08:00
i3c drivers/i3c: avoid return error when i3c_master_register without i3c/i2c device 2024-09-24 23:36:50 +08:00
input drivers/input: fix complie err about undefined 2024-10-13 02:03:40 +08:00
ioexpander nuttx/drivers: add ept_release_cb for destroy server resource 2024-10-10 08:44:29 +08:00
ipcc driver: Post sempahore only when it's value is smaller than one 2024-10-13 02:12:01 +08:00
lcd lcd/st7735: add option to invert display color 2024-10-02 20:52:55 +08:00
leds
loop
math
misc nuttx/drivers: add ept_release_cb for destroy server resource 2024-10-10 08:44:29 +08:00
mmcsd mmcsd: refine emmc capacity calculate 2024-10-09 22:24:18 +08:00
modem drivers/modem/alt1250: Fix issue where the program would get stuck 2024-09-24 20:00:21 +08:00
motor Fix allocated memory test 2024-06-28 09:30:42 +02:00
mtd nuttx/drivers: add ept_release_cb for destroy server resource 2024-10-10 08:44:29 +08:00
net e1000: add polling mode support for tx/rx 2024-10-08 13:15:31 +02:00
note note: fix note_common unaligned access 2024-10-11 11:55:17 +08:00
pci drivers/pci: fix pci framework warning in 32bit chip 2024-10-13 02:28:32 +08:00
pinctrl driver/pinctl: add pinctrl framework 2024-09-17 02:25:47 +08:00
pipes circbuf: Move from mm/circbuf to libs/libc/misc 2024-10-09 08:41:49 +08:00
power nuttx/drivers: add ept_release_cb for destroy server resource 2024-10-10 08:44:29 +08:00
rc circbuf: Move from mm/circbuf to libs/libc/misc 2024-10-09 08:41:49 +08:00
regmap drivers/regmap: add exit function interface. 2024-08-27 21:43:58 +08:00
reset nuttx/drivers: add ept_release_cb for destroy server resource 2024-10-10 08:44:29 +08:00
rf
rmt circbuf: Move from mm/circbuf to libs/libc/misc 2024-10-09 08:41:49 +08:00
rpmsg include/nuttx.h: replace all the align macros to nuttx version 2024-10-11 16:55:43 +08:00
rptun drivers/rptun: minor fix about rptun 2024-10-12 12:12:00 +08:00
segger drivers/segger: add note vprint support 2024-10-12 09:58:00 +08:00
sensors nuttx/drivers: add ept_release_cb for destroy server resource 2024-10-10 08:44:29 +08:00
serial serial: use nxsig_tgkill instead of nxsig_kill 2024-10-12 09:30:37 +08:00
spi spi_slave: keep consistent with the parameter of the spi_slave_receive function declaration 2024-09-13 12:27:31 +08:00
syslog syslog: support syslog redirection to sched_note 2024-10-11 01:30:11 +08:00
thermal cmake:add driver thermal CMake scripts 2024-10-13 02:25:06 +08:00
timers drivers/timer: fix goldfish timer did not included in cmake 2024-10-12 09:31:15 +08:00
usbdev usb: If usb3.0, set the ep0 sssize to cfgdescsize 2024-10-09 14:19:16 +08:00
usbhost nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
usbmisc nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
usbmonitor nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
usrsock nuttx/drivers: add ept_release_cb for destroy server resource 2024-10-10 08:44:29 +08:00
vhost virtio devices: update virtqueue operate buffer add lock API 2024-10-06 08:37:53 +08:00
video circbuf: Move from mm/circbuf to libs/libc/misc 2024-10-09 08:41:49 +08:00
virtio virtio-mmio/pci: add alloc_buf/free_buf for mmio and pci transport layer 2024-10-09 23:32:58 +08:00
wireless nuttx/drivers: add ept_release_cb for destroy server resource 2024-10-10 08:44:29 +08:00
.gitignore
CMakeLists.txt
Kconfig drivers/vhost: add vhost framework for NuttX 2024-10-03 17:37:40 +08:00
Makefile drivers/vhost: add vhost framework for NuttX 2024-10-03 17:37:40 +08:00
drivers_initialize.c drivers/vhost: add vhost framework for NuttX 2024-10-03 17:37:40 +08:00