Merge "msm: smd_pkt: add enforcement that array lengths match number of ports"