caif_virtio: Check that vringh_config is not null
authorSjur Brændeland <sjur.brandeland@stericsson.com>
Sun, 24 Mar 2013 03:49:59 +0000 (14:19 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 24 Mar 2013 03:59:15 +0000 (14:29 +1030)
commita8c7687bf21603af6246e55cc58f98e42241bd01
tree5dad9b5fffcf702947f6c1b83b2b4e28c8bd970e
parentb2273be8d2df7b77165a70930064aeb9e8faebfa
caif_virtio: Check that vringh_config is not null

Check that vringh_config is not NULL before using it.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/net/caif/caif_virtio.c