Message ID | 1389765313-16744-1-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Superseded |
Headers | show |
Hi Chris Please let me know if there is any issue with this patch series that it has been getting ignored repeatedly. Regards Sachin On Wednesday, 15 January 2014, Sachin Kamat <sachin.kamat@linaro.org> wrote: > sizeof should be of the parent structure type. > > Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org <javascript:;>> > --- > Resending this series once again as it hasn't received Chris' > attention during the previous re-sends. Hope Chris will pick it > up atleast this time considering it is pending since a few months > now and has been acked by the concerned people. > --- > drivers/mmc/host/ushc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/ushc.c b/drivers/mmc/host/ushc.c > index c0105a2e269a..d2c386f09d69 100644 > --- 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_cbw), GFP_KERNEL); > + ushc->csw = kzalloc(sizeof(struct ushc_csw), GFP_KERNEL); > if (ushc->csw == NULL) { > ret = -ENOMEM; > goto err; > -- > 1.7.9.5 > >
diff --git a/drivers/mmc/host/ushc.c b/drivers/mmc/host/ushc.c index c0105a2e269a..d2c386f09d69 100644 --- 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_cbw), GFP_KERNEL); + ushc->csw = kzalloc(sizeof(struct ushc_csw), GFP_KERNEL); if (ushc->csw == NULL) { ret = -ENOMEM; goto err;
sizeof should be of the parent structure type. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- Resending this series once again as it hasn't received Chris' attention during the previous re-sends. Hope Chris will pick it up atleast this time considering it is pending since a few months now and has been acked by the concerned people. --- drivers/mmc/host/ushc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)