nuttx/drivers/wireless
Xiang Xiao 98976176e1 drivers/wireless/gs2200m: Fix compiler warning
wireless/gs2200m.c: In function 'gs2200m_send_cmd':
Error: wireless/gs2200m.c:1555:32: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
 1555 |       memset(pkt_dat, 0, sizeof(pkt_dat));
      |                                ^
Error: wireless/gs2200m.c:1570:36: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
 1570 |           memset(pkt_dat, 0, sizeof(pkt_dat));
      |                                    ^
wireless/gs2200m.c: In function 'gs2200m_ioctl':
Error: wireless/gs2200m.c:318:25: error: 'snprintf' output may be truncated before the last format character [-Werror=format-truncation=]
  318 |   snprintf(str, 5, "%04d", num);
      |                         ^
wireless/gs2200m.c:318:3: note: 'snprintf' output between 5 and 6 bytes into a destination of size 5
  318 |   snprintf(str, 5, "%04d", num);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-10 19:46:01 +02:00
..
bluetooth drivers: wireless: bluetooth: exclude BSD components from build 2022-02-24 22:48:47 +08:00
ieee80211 bcm43xxx: fixed several warnings: 2022-02-04 15:26:42 -03:00
ieee802154 include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
lpwan Replece clock_gettime(CLOCK_REALTIME) with clock_systime_timespec if suitable 2022-02-24 01:06:36 +08:00
spirit drivers: wireless: spirit: exclude BSD components from build 2022-02-24 22:48:47 +08:00
cc1101.c file_operations: get back C89 compatible initializer 2022-01-11 02:14:00 +08:00
gs2200m.c drivers/wireless/gs2200m: Fix compiler warning 2022-03-10 19:46:01 +02:00
ISM1_868MHzGFSK100kbps.c drivers: nxstyle fixes 2021-04-05 07:31:45 -05:00
ISM2_433MHzMSK500kbps.c drivers: nxstyle fixes 2021-04-05 07:31:45 -05:00
ISM2_905MHzGFSK250kbps.c drivers: nxstyle fixes 2021-04-05 07:31:45 -05:00
Kconfig Kconfig: add quotes in source to clean warnings from setconfig 2021-07-23 02:32:19 -07:00
Make.defs drivers: Author Gregory Nutt: update licenses to Apache 2021-03-04 18:32:27 -08:00
nrf24l01.c boards: stm32: Laurent Latil: update licenses to Apache 2021-04-01 12:13:12 -05:00
nrf24l01.h drivers: Nxstyle fixes 2021-04-01 12:13:12 -05:00