linaro 4.9 fix

Change-Id: I05b20dc2c8da7ca175d6d372d3cef2fe951faed0
fix: kernel_dev and kernel_type may be used uninitialized in this function
cifs/transport.c: fix maybe-uninitialized midQ

Change-Id: I52f1dd7e7e3b201828f8ac916c0a826dd37bb682