From: Oded Gabbay <[email protected]> Sent: Monday, 8 July 2019 13:44
> The current code checks if the user context pointer is NULL or not to > display the number of open file descriptors of a device. However, that > variable (user_ctx) will eventually go away as the driver will support > multiple processes. Instead, the driver can use the atomic counter of > the open file descriptors which the driver already maintains. > > Signed-off-by: Oded Gabbay <[email protected]> Reviewed-by: Tomer Tayar <[email protected]>

