Re: [PATCH 12/13 linux-next] serial: use container_of to resolve uart_sunzilog_port from uart_port
From: David Miller
Date: Sun Oct 05 2014 - 16:58:19 EST
From: Fabian Frederick <fabf@xxxxxxxxx>
Date: Sun, 5 Oct 2014 19:19:48 +0200
> Use container_of instead of casting first structure member.
>
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/