Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2afb4ac authored by Asutosh Das's avatar Asutosh Das
Browse files

scsi: ufs: fix typecasting in vendor quirk



The UFS_VENDOR_ANY quirk should be typecasted to u16 for
it to take effect.

CRs-fixed: 1047377
Change-Id: I37e5ca14b53cbafbfcd60e6f929ff6208a70fab3
Signed-off-by: default avatarAsutosh Das <asutoshd@codeaurora.org>
parent 03ffbf10
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -17,7 +17,7 @@
/* return true if s1 is a prefix of s2 */
#define STR_PRFX_EQUAL(s1, s2) !strncmp(s1, s2, strlen(s1))

#define UFS_ANY_VENDOR -1
#define UFS_ANY_VENDOR 0xffff
#define UFS_ANY_MODEL  "ANY_MODEL"

#define MAX_MODEL_LEN 16