On Tue 27 Feb 22:25 PST 2018, Marcel Holtmann wrote:
> > btq->cmd_channel = qcom_wcnss_open_channel(wcnss, "APPS_RIVA_BT_CMD",
> >btqcomsmd_cmd_callback, btq);
> > - if (IS_ERR(btq->cmd_channel))
> > - return PTR_ERR(btq->cmd_channel);
Hi Bjorn,
> rpmsg_create_ept() returns NULL on error and as such
> qcom_wcnss_open_channel() does the same. Clarify this in the
> kernel-doc and correct the error checks in btqcomsmd.
>
> Fixes: 1511cc750c3d ("Bluetooth: Introduce Qualcomm WCNSS SMD based HCI
> driver")
> Cc: sta...@vger.kernel.
2 matches
Mail list logo