FSP/CONSOLE: Fix possible NULL dereference
FSP/CONSOLE: Fix possible NULL dereference

Fix coverity warning message.

Null pointer dereferences  (NULL_RETURNS)
/hw/fsp/fsp-console.c: 295 in fsp_open_vserial()
289
290             fs->open = true;
291
292             fs->poke_msg = fsp_mkmsg(FSP_CMD_VSERIAL_OUT, 2,
293                                      msg->data.words[0],
294                                      msg->data.words[1] & 0xffff);
>>>     CID 145796:  Null pointer dereferences  (NULL_RETURNS)
>>>     Dereferencing a null pointer "fs->poke_msg".
295             fs->poke_msg->user_data = fs;
296
297             fs->in_buf->partition_id = fs->out_buf->partition_id = part_id;
298             fs->in_buf->session_id   = fs->out_buf->session_id   = sess_id;
299             fs->in_buf->hmc_id       = fs->out_buf->hmc_id       = hmc_indx;
300             fs->in_buf->data_offset  = fs->out_buf->data_offset  =

Signed-off-by: Vasant Hegde <a6d753843573f7bfed5075c1e875b0be8007a0ab@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.vnet.ibm.com>

stewart-ibm/skiboot,mikey/skiboot,open-power/skiboot,shenki/skiboot,stewart-ibm/skiboot,mikey/skiboot,shenki/skiboot,qemu/skiboot,legoater/skiboot,stewart-ibm/skiboot,qemu/skiboot,shenki/skiboot,legoater/skiboot,qemu/skiboot,mikey/skiboot,legoater/skiboot,legoater/skiboot,legoater/skiboot,open-power/skiboot,open-power/skiboot,shenki/skiboot,open-power/skiboot,open-power/skiboot,qemu/skiboot,qemu/skiboot,shenki/skiboot