Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\sed-opal.c Create Date:2022-07-28 18:11:57
Last Modify:2020-03-17 23:36:33 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_sid_cpin_pin

Proto:static int set_sid_cpin_pin(struct opal_dev *dev, void *data)

Type:int

Parameter:

TypeParameterName
struct opal_dev *dev
void *data
1709  key = data
1711  memcpy(cpin_uid, opaluid[OPAL_C_PIN_SID], OPAL_UID_LENGTH)
1713  If generic_pw_cmd(key, key_len, cpin_uid, dev) Then
1714  pr_debug("Error building Set SID cpin\n")
1715  Return -ERANGE
1717  Return finalize_and_send(dev, Parses and checks for errors )