fc_els_fpin
struct fc_els_fpin *fpin = (struct fc_els_fpin *)p;
if (fpin_length < sizeof(struct fc_els_fpin))
if (fpin_length < len + sizeof(struct fc_els_fpin)) {
bytes_remain = fpin_length - offsetof(struct fc_els_fpin, fpin_desc);
(cnt + sizeof(struct fc_els_fpin)));
fpin_length = cnt + sizeof(struct fc_els_fpin);
fpin_length += sizeof(struct fc_els_fpin); /* the entire FPIN */
lpfc_els_rcv_fpin(vport, (struct fc_els_fpin *)payload,
struct fc_els_fpin *fpin = (struct fc_els_fpin *)fpin_buf;
bytes_remain = fpin_len - offsetof(struct fc_els_fpin, fpin_desc);