projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6492c0
)
mmc: ushc: Fix incorrect parameter in sizeof
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 25 Feb 2014 09:48:19 +0000
(15:18 +0530)
committer
Chris Ball
<chris@printf.net>
Tue, 25 Feb 2014 20:42:20 +0000
(15:42 -0500)
sizeof should be of the parent structure type.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/ushc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/ushc.c
b/drivers/mmc/host/ushc.c
index c0105a2e269a7b89128b3dc1c761118c4f9837c8..d2c386f09d69f4edd20b0ac778624b40f826f1e3 100644
(file)
--- a/
drivers/mmc/host/ushc.c
+++ b/
drivers/mmc/host/ushc.c
@@
-504,7
+504,7
@@
static int ushc_probe(struct usb_interface *intf, const struct usb_device_id *id
ret = -ENOMEM;
goto err;
}
- ushc->csw = kzalloc(sizeof(struct ushc_c
b
w), GFP_KERNEL);
+ ushc->csw = kzalloc(sizeof(struct ushc_c
s
w), GFP_KERNEL);
if (ushc->csw == NULL) {
ret = -ENOMEM;
goto err;