mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
target: Make spc_parse_naa_6h_vendor_specific non static
This patch makes spc_parse_naa_6h_vendor_specific() available to other target code, which is required by EXTENDED_COPY when comparing the received NAA WWN device identifer for locating the associated se_device backend. Cc: Christoph Hellwig <[email protected]> Cc: Hannes Reinecke <[email protected]> Cc: Martin Petersen <[email protected]> Cc: Chris Mason <[email protected]> Cc: Roland Dreier <[email protected]> Cc: Zach Brown <[email protected]> Cc: James Bottomley <[email protected]> Cc: Nicholas Bellinger <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
This commit is contained in:
parent
56d128fa77
commit
68366026a5
1 changed files with 2 additions and 2 deletions
|
|
@ -126,8 +126,8 @@ spc_emulate_evpd_80(struct se_cmd *cmd, unsigned char *buf)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void spc_parse_naa_6h_vendor_specific(struct se_device *dev,
|
||||
unsigned char *buf)
|
||||
void spc_parse_naa_6h_vendor_specific(struct se_device *dev,
|
||||
unsigned char *buf)
|
||||
{
|
||||
unsigned char *p = &dev->t10_wwn.unit_serial[0];
|
||||
int cnt;
|
||||
|
|
|
|||
Loading…
Reference in a new issue