mali_760_driver :
[firefly-linux-kernel-4.4.55.git] / drivers / block / nvme-scsi.c
index 64bde6886b43cb4b40ebee6f694ef6bd9eaf4995..102de2f52b5c5fa7b4dd877121f156041bb20be7 100644 (file)
@@ -1653,7 +1653,7 @@ static void nvme_trans_modesel_save_bd(struct nvme_ns *ns, u8 *parm_list,
        }
 }
 
-static u16 nvme_trans_modesel_get_mp(struct nvme_ns *ns, struct sg_io_hdr *hdr,
+static int nvme_trans_modesel_get_mp(struct nvme_ns *ns, struct sg_io_hdr *hdr,
                                        u8 *mode_page, u8 page_code)
 {
        int res = SNTI_TRANSLATION_SUCCESS;