aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-09-29 09:42:15 +0000
committerWolfram Sang <[email protected]>2022-10-01 22:43:11 +0000
commitfe682780d5cdf7b3932c6a1c669db8fc344f7e17 (patch)
treec7d1f1843f63d38c66f2c4ac19b1ce38f278e5d6 /lib/fault-inject.c
parenti2c: designware-pci: Group AMD NAVI quirk parts together (diff)
downloadkernel-fe682780d5cdf7b3932c6a1c669db8fc344f7e17.tar.gz
kernel-fe682780d5cdf7b3932c6a1c669db8fc344f7e17.zip
i2c: designware-pci: Use standard pattern for memory allocation
The pattern foo = kmalloc(sizeof(*foo), GFP_KERNEL); has an advantage when foo type is changed. Since we are planning a such, better to be prepared by using standard pattern for memory allocation. Signed-off-by: Andy Shevchenko <[email protected]> Acked-by: Jarkko Nikula <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions