walnux/drivers
chao an 2ff44978c2 drivers/mtd: fix compile warning
mtd/mtd_rwbuffer.c:42:
mtd/mtd_rwbuffer.c: In function 'mtd_erase':
mtd/mtd_rwbuffer.c:189:9: warning: format '%zx' expects argument of type 'size_t', but argument 3 has type 'long long int' [-Wformat=]
  189 |   finfo("block: %08zx nsectors: %zu\n",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  190 |         (intmax_t)block, nsectors);
      |         ~~~~~~~~~~~~~~~
      |         |
      |         long long int
mtd/mtd_rwbuffer.c:189:21: note: format string is defined here
  189 |   finfo("block: %08zx nsectors: %zu\n",
      |                 ~~~~^
      |                     |
      |                     unsigned int
      |                 %08llx
mtd/mtd_rwbuffer.c: In function 'mtd_ioctl':
mtd/mtd_rwbuffer.c:298:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'uint32_t' {aka 'long unsigned int'} [-Wformat=]
  298 |               finfo("blocksize: %d erasesize: %d neraseblocks: %d\n",
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  299 |                     geo->blocksize, geo->erasesize, geo->neraseblocks);
      |                     ~~~~~~~~~~~~~~
      |                        |
      |                        uint32_t {aka long unsigned int}
...

Signed-off-by: chao an <anchao.archer@bytedance.com>
2025-06-03 17:33:14 +08:00
..
1wire drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
aie drivers: unify Private Types banners 2025-05-28 10:17:15 +08:00
analog analog/ads1115: Speed up channel measurement delays 2025-05-29 15:23:06 +08:00
audio style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
bch drivers/bch: Add CONFIG_BCH_FORCE_INDIRECT 2025-04-03 16:21:51 +08:00
can style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
clk style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
contactless drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
coresight arch | boards | drivers: fix whitespace issues for switch case statements 2025-05-23 10:48:41 +08:00
crypto crypto/se05x: Allow set_enable_pin to be NULL and fix error handling 2024-11-07 11:37:58 +08:00
devicetree style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
dma drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
dummy drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
eeprom drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
efuse drivers: unify Private Types banners 2025-05-28 10:17:15 +08:00
i2c fs/drivers: Avoid causing a busy loop in the program due to context switching induced by sem_post. 2025-03-17 10:44:26 +01:00
i2s drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
i3c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
input style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
ioexpander style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
ipcc style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
lcd drivers: unify Private Types banners 2025-05-28 10:17:15 +08:00
leds drivers: unify Private Types banners 2025-05-28 10:17:15 +08:00
loop drivers/iovec: revert vector io implement from loop/null/zero driver 2025-01-22 11:29:39 +08:00
math drivers: unify Private Types banners 2025-05-28 10:17:15 +08:00
misc style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
mmcsd style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
modem drivers: unify Private Types banners 2025-05-28 10:17:15 +08:00
motor style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
mtd drivers/mtd: fix compile warning 2025-06-03 17:33:14 +08:00
net style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
note style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
pci style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
pinctrl drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
pipes fs/drivers: Avoid causing a busy loop in the program due to context switching induced by sem_post. 2025-03-17 10:44:26 +01:00
power drivers: unify Private Types banners 2025-05-28 10:17:15 +08:00
rc style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
regmap style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
reset style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
rf drivers/rf: migrate license to ASF 2024-11-06 19:46:13 +08:00
rmt drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
rpmsg style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
rptun style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
segger sched/spin_lock: rename raw_spin_lock to spin_lock_notrace 2025-02-13 20:48:15 +08:00
sensors drivers/sensors: add missing SENSORS prefix after d68476796a 2025-05-25 09:50:53 +08:00
serial style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
spi style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
syslog syslog/rpmsg: disable force put char to lower putc 2025-06-03 17:33:03 +08:00
thermal style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
timers drivers: unify Private Types banners 2025-05-28 10:17:15 +08:00
usbdev drivers/usbdev/cdcncm.c: Fix issue with unplug/replug of USB causing link not to re-establish 2025-05-24 12:29:07 +08:00
usbhost style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
usbmisc style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
usbmonitor drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
usrsock drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
vhost style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
video arch | boards | drivers: fix whitespace issues for switch case statements 2025-05-23 10:48:41 +08:00
virtio style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
wireless style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
.gitignore
CMakeLists.txt drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
drivers_initialize.c usbhost: add common usb host waiter and drivers initialization 2025-05-15 21:58:57 +08:00
Kconfig AI engine driver 2024-10-16 13:57:23 +08:00
Makefile drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00