Merging upstream version 2.4+really2.3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
58746eb9a3
commit
1fbda9c797
458 changed files with 5141 additions and 7138 deletions
|
@ -1,20 +0,0 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/*
|
||||
* Copyright (c) 2023 Solidigm.
|
||||
*
|
||||
* Author: leonardo.da.cunha@solidigm.com
|
||||
*/
|
||||
|
||||
#include "plugins/ocp/ocp-utils.h"
|
||||
#include "solidigm-util.h"
|
||||
|
||||
__u8 solidigm_get_vu_uuid_index(struct nvme_dev *dev)
|
||||
{
|
||||
int ocp_uuid_index = 0;
|
||||
|
||||
if (ocp_get_uuid_index(dev, &ocp_uuid_index) == 0)
|
||||
if (ocp_uuid_index == 2)
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue