devargs: fix null dereferencing on failure
devargs: fix null dereferencing on failure

On failure devargs->args should not be accessed if devargs is NULL.

Fixes: c07691ae1089 ("devargs: remove limit on parameters length")

Signed-off-by: Pawel Wodkowski <ee43875f918ccc633a652e6e256df4e6d9c42850@intel.com>
Acked-by: David Marchand <f28529695cfa9e3e1eb84e7072aa626af4abb18e@6wind.com>

tsphillips/dpdk-fork,tsphillips/dpdk-fork,tsphillips/dpdk-fork,venkynv/dpdk-mirror,venkynv/dpdk-mirror,msune/dpdk,mixja/dpdk,venkynv/dpdk-mirror,john-mcnamara-intel/dpdk,tsphillips/dpdk-fork,venkynv/dpdk-mirror,mixja/dpdk,msune/dpdk,john-mcnamara-intel/dpdk,mixja/dpdk,msune/dpdk,mixja/dpdk,john-mcnamara-intel/dpdk,msune/dpdk,john-mcnamara-intel/dpdk