Re: [PATCHv7 2/5] mailbox: Introduce framework for mailbox

From: Lubomir Rintel
Date: Sun Jun 22 2014 - 06:56:53 EST


On Thu, 2014-06-12 at 22:31 +0530, Jassi Brar wrote:
> Introduce common framework for client/protocol drivers and
> controller drivers of Inter-Processor-Communication (IPC).
>
> Client driver developers should have a look at
> include/linux/mailbox_client.h to understand the part of
> the API exposed to client drivers.
> Similarly controller driver developers should have a look
> at include/linux/mailbox_controller.h
...
> +struct mbox_chan *mbox_request_channel(const struct mbox_client *cl)
> +{
...
> + chan->cl = cl;

drivers/mailbox/mailbox.c: In function âmbox_request_channelâ:
drivers/mailbox/mailbox.c:361:11: warning: assignment discards âconstâ
qualifier from pointer target type [enabled by default]
chan->cl = cl;


--
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/