projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa08b6a
)
s390/fs3270: use *ptr instead of struct in kzalloc
author
Sven Schnelle
<svens@linux.ibm.com>
Mon, 5 Dec 2022 09:31:56 +0000
(10:31 +0100)
committer
Heiko Carstens
<hca@linux.ibm.com>
Mon, 9 Jan 2023 13:34:05 +0000
(14:34 +0100)
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/fs3270.c
patch
|
blob
|
history
diff --git
a/drivers/s390/char/fs3270.c
b/drivers/s390/char/fs3270.c
index
836c09a
..
32fdb02
100644
(file)
--- a/
drivers/s390/char/fs3270.c
+++ b/
drivers/s390/char/fs3270.c
@@
-379,7
+379,7
@@
fs3270_alloc_view(void)
{
struct fs3270 *fp;
- fp = kzalloc(sizeof(
struct fs3270
), GFP_KERNEL);
+ fp = kzalloc(sizeof(
*fp
), GFP_KERNEL);
if (!fp)
return ERR_PTR(-ENOMEM);
fp->init = raw3270_request_alloc(0);