Re: [PATCH] soc: qcom: smd: Reject send of too big packets

From: Andy Gross
Date: Fri Sep 25 2015 - 13:04:04 EST

On Thu, Sep 24, 2015 at 06:37:18PM -0700, Bjorn Andersson wrote:
> Attempting to find room for a packet that's bigger than the fifo will
> never succeed and the calling process will be sleeping forever in the
> loop, waiting for enough room. So fail early instead.
> Reported-by: Courtney Cavin <courtney.cavin@xxxxxxxxxxxxxx>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxxxxxx>
> ---

Looks reasonable.

Reviewed-by: Andy Gross <agross@xxxxxxxxxxxxxx>

Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at