zephyr/drivers/i2c
Maureen Helm 3dd3c6a393 drivers: i2c: Check non-null pointer before dereferencing in i2c shell
Fixes the i2c shell to check the device name pointer is non-null before
dereferencing it.

Coverity CID: 210558

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2020-06-10 18:33:42 -04:00
..
slave zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
CMakeLists.txt
i2c_bitbang.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_bitbang.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_cc13xx_cc26xx.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_cc32xx.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_dw_port_x.h
i2c_dw_registers.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_dw.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_dw.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_esp32.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_gecko.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_gpio.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_handlers.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_imx.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_litex.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_ll_stm32_v1.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_ll_stm32_v2.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_ll_stm32.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_ll_stm32.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_mchp_xec.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_mcux_flexcomm.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_mcux_lpi2c.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_mcux.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_nios2.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_nrfx_twi.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_nrfx_twim.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_rv32m1_lpi2c.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_sam_twi.c drivers: use macro to define device structures 2020-06-08 15:01:52 -04:00
i2c_sam_twihs.c drivers: use macro to define device structures 2020-06-08 15:01:52 -04:00
i2c_sam0.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_sbcon.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c_shell.c drivers: i2c: Check non-null pointer before dereferencing in i2c shell 2020-06-10 18:33:42 -04:00
i2c_sifive.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c-priv.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
Kconfig
Kconfig.cc13xx_cc26xx
Kconfig.dw
Kconfig.esp32
Kconfig.gpio
Kconfig.litex
Kconfig.nrfx
Kconfig.sam0
Kconfig.sbcon
Kconfig.sifive
Kconfig.stm32
Kconfig.xec