Skip to content
Snippets Groups Projects
Commit c93f0940 authored by Alan Cox's avatar Alan Cox Committed by David S. Miller
Browse files

caif: check write operations


write is optional for a tty device. Check that we have a write op rather
than calling NULL.

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 298b9e44
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment