Am 2014-11-12 um 17:31 schrieb Martin Kepplinger:
> The miscdevice core now sets file->private_data to the struct miscdevice
> so don't fail when this is not NULL.
> 
> Reported-by: Thierry Reding <[email protected]>
> Signed-off-by: Martin Kepplinger <[email protected]>
> ---
> This is a question: what does this check provide and does overwriting
> file->private_data make any difference?
> 
> Is open() by the user not allowed here, if file->private_data is set?
> 
> thanks!!
> 

if ok, please add

Reported-by: Giedrius Statkevicius <[email protected]>

thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to