# Re: weird hidraw behaviour

- From: Mika Westerberg \<mika.westerberg@linux.intel.com\>
- Date: 2013-10-01 12:38:01 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2013/10/8922136
- Thread: https://ratatoskr.run/linux-input/2013/09/8922100/t.md

```text
On Tue, Oct 01, 2013 at 05:13:16PM +0530, Manoj Chourasia wrote:
> Can you please try the attached patch and see if it fixes this issue?

Yes, that patch fixes the issue for me, thanks!

It introduces following warning, though:

drivers/hid/hidraw.c: In function ‘drop_ref’:
drivers/hid/hidraw.c:320:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
  if (!hidraw->open)
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
