提交 86f6f5e2 编写于 作者: S Suman Anna 提交者: Jassi Brar

mailbox/omap: use variable name for sizeof() operator

Fix the code formatting to use the kernel preferred style
of using the actual variables to determize the size using
the sizeof() operator. This fixes the corresponding checkpatch
warning as well.
Signed-off-by: NSuman Anna <s-anna@ti.com>
Signed-off-by: NJassi Brar <jaswinder.singh@linaro.org>
上级 4899f78a
......@@ -384,7 +384,7 @@ static struct omap_mbox_queue *mbox_queue_alloc(struct omap_mbox *mbox,
if (!work)
return NULL;
mq = kzalloc(sizeof(struct omap_mbox_queue), GFP_KERNEL);
mq = kzalloc(sizeof(*mq), GFP_KERNEL);
if (!mq)
return NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册