Message ID | 38dd53cc-f7e8-57b9-bd0f-0946c787ac2e@users.sourceforge.net (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | tty/serial/ucc_uart: Adjustments for two functions | expand |
diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c index 48364f0eba72..a9ce652899aa 100644 --- a/drivers/tty/serial/ucc_uart.c +++ b/drivers/tty/serial/ucc_uart.c @@ -1253,7 +1253,7 @@ static int ucc_uart_probe(struct platform_device *ofdev) } } - qe_port = kzalloc(sizeof(struct uart_qe_port), GFP_KERNEL); + qe_port = kzalloc(sizeof(*qe_port), GFP_KERNEL); if (!qe_port) return -ENOMEM;