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

2015-09-25 Thread Andy Gross
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

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

2015-09-25 Thread Andy Gross
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

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

2015-09-24 Thread Bjorn Andersson
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 Signed-off-by: Bjorn Andersson --- drivers/soc/qcom/smd.c | 4 1

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

2015-09-24 Thread Bjorn Andersson
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 Signed-off-by: Bjorn Andersson