diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-08-17 03:28:27 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-01 20:26:19 -0300 |
commit | 26ee7f47028904a6a7da7f2979a25e8ea937fa32 (patch) | |
tree | 26601fc54d2bb22f405c382854b4f3a977df21fb /drivers/media/platform/s5p-fimc/fimc-m2m.c | |
parent | 254227817fe0cfce0107070da64429edc0e2ebed (diff) | |
download | op-kernel-dev-26ee7f47028904a6a7da7f2979a25e8ea937fa32.zip op-kernel-dev-26ee7f47028904a6a7da7f2979a25e8ea937fa32.tar.gz |
[media] s5p-fimc: Add missing braces around sizeof
Silences the following warning:
WARNING: sizeof *ctx should be sizeof(*ctx)
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/s5p-fimc/fimc-m2m.c')
-rw-r--r-- | drivers/media/platform/s5p-fimc/fimc-m2m.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-fimc/fimc-m2m.c b/drivers/media/platform/s5p-fimc/fimc-m2m.c index 51fc04c..6b71d95 100644 --- a/drivers/media/platform/s5p-fimc/fimc-m2m.c +++ b/drivers/media/platform/s5p-fimc/fimc-m2m.c @@ -659,7 +659,7 @@ static int fimc_m2m_open(struct file *file) if (fimc->vid_cap.refcnt > 0) goto unlock; - ctx = kzalloc(sizeof *ctx, GFP_KERNEL); + ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); if (!ctx) { ret = -ENOMEM; goto unlock; |