zephyr/drivers
Marti Bolivar ec3aece97c drivers: spi: avoid undefined behavior
Void pointer arithmetic is undefined behavior (UB).

It's OK for struct spi_buf to contain a void *, because those values
are only ever stored, read, and compared. However, pointer arithmetic
is done on the tx_buf and rx_buf fields in struct spi_context, so
those need to be u8_t * to avoid UB.

Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
2017-08-08 07:45:35 -04:00
..
adc Kconfig: make all syslog variables depend on SYS_LOG 2017-08-04 14:34:54 -05:00
aio drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
bluetooth devicetree: Generate BLUETOOTH_UART,UART_PIPE etc config from dt 2017-07-19 11:52:35 -04:00
clock_control Kconfig: make all syslog variables depend on SYS_LOG 2017-08-04 14:34:54 -05:00
console Kconfig: make all syslog variables depend on SYS_LOG 2017-08-04 14:34:54 -05:00
counter drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
crc drivers: convert to using newly introduced integer sized types 2017-04-21 10:06:48 -05:00
crypto Kconfig: make all syslog variables depend on SYS_LOG 2017-08-04 14:34:54 -05:00
display kernel: make K_.*_INITIALIZER private to kernel 2017-07-10 11:44:56 -07:00
dma stm32f4: Clean references to stm32f4 specific clock control 2017-04-28 15:26:11 -05:00
ethernet drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
flash drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
gpio Kconfig: make all syslog variables depend on SYS_LOG 2017-08-04 14:34:54 -05:00
grove spell: fix Kconfig help typos: /boards /drivers 2017-04-21 21:31:30 +00:00
i2c drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
ieee802154 Kconfig: make all syslog variables depend on SYS_LOG 2017-08-04 14:34:54 -05:00
interrupt_controller interrupt_controller: add STM32F303XC EXTI lines number 2017-07-01 08:36:51 -04:00
ipm drivers: IPM: Refactor IPM driver using u32_t registers 2017-06-05 21:50:15 -04:00
pci linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
pinmux pinmux: stm32: 96b_carbon: Add support for SPI 2017-08-08 07:45:35 -04:00
pwm Kconfig: make all syslog variables depend on SYS_LOG 2017-08-04 14:34:54 -05:00
random drivers: stm32: random: Initial STM32 random number generator driver 2017-07-07 07:27:39 -05:00
rtc drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
sensor drivers: Add apds9960 sensor in polling mode 2017-08-03 15:29:35 -05:00
serial kconfig: serial: esp32: Make driver depend on SOC_ESP32 2017-08-04 08:22:59 -04:00
shared_irq spell: fix Kconfig help typos: /boards /drivers 2017-04-21 21:31:30 +00:00
slip net: slip: Clarify slip settings in Kconfig 2017-07-28 10:45:47 +03:00
spi drivers: spi: avoid undefined behavior 2017-08-08 07:45:35 -04:00
timer drivers: timer: init earlier in boot sequence 2017-07-10 11:44:56 -07:00
usb Kconfig: make all syslog variables depend on SYS_LOG 2017-08-04 14:34:54 -05:00
watchdog drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
Kconfig drivers: Add support for BBC micro:bit LED display 2017-04-04 08:14:36 +03:00
Makefile crc16: Create function for computing CRC 16 2017-04-13 15:21:42 +03:00