linux/drivers/staging/gasket
Kimberly Brown cd27f56fce staging: gasket: use sizeof(*p) for memory allocation
Use sizeof(*p) instead of sizeof(struct P) for memory allocation. This
change complies with the Linux kernel coding style. It improves
readability and decreases the opportunity for bugs if the pointer
variable type is changed. Issue found by checkpatch.

Signed-off-by: Kimberly Brown <kimbrownkd@gmail.com>
Acked-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-05 14:16:32 +01:00
..
apex_driver.c staging: gasket: Remove extra blank line 2018-10-19 21:10:45 +02:00
apex.h staging: gasket: apex: move driver-private defines out of apex.h 2018-08-01 20:07:03 +02:00
gasket_constants.h staging: gasket: remove "reset type" param from framework 2018-08-02 11:00:21 +02:00
gasket_core.c staging: gasket: remove debug logs for callback invocation 2018-10-19 21:12:28 +02:00
gasket_core.h staging: gasket: Fix sparse "incorrect type in assignment" warnings. 2018-10-19 21:12:29 +02:00
gasket_interrupt.c staging: gasket: use sizeof(*p) for memory allocation 2018-11-05 14:16:32 +01:00
gasket_interrupt.h staging: gasket: interrupt: simplify interrupt init parameters 2018-08-27 19:43:44 +02:00
gasket_ioctl.c staging: gasket: remove "reset type" param from framework 2018-08-02 11:00:21 +02:00
gasket_ioctl.h staging: gasket: common ioctl dispatcher add __user annotations 2018-07-21 08:50:36 +02:00
gasket_page_table.c staging: gasket: use sizeof(*p) for memory allocation 2018-11-05 14:16:32 +01:00
gasket_page_table.h staging: gasket: page table: fix header file include guard symbol 2018-08-01 20:07:03 +02:00
gasket_sysfs.c staging: gasket: sysfs: clean up state if ENOMEM removing mapping 2018-08-08 11:20:06 +02:00
gasket_sysfs.h staging: gasket: sysfs: fix attribute release comment 2018-10-15 16:30:38 +02:00
gasket.h staging: gasket: remove "reset type" param from framework 2018-08-02 11:00:21 +02:00
Kconfig staging: gasket: Kconfig: describe Apex as an Edge TPU device 2018-09-18 13:22:01 +02:00
Makefile
TODO staging: gasket: TODO: re-implement using UIO 2018-09-10 18:08:06 +02:00