Actions
Bug #14468
openpriv value passed to scsi_hba_tgtmap_set_add() is not passed to activate callback
Status:
New
Priority:
Normal
Assignee:
-
Category:
kernel
Start date:
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Qouting scsi_hba_tgtmap_create(9F): tgtmap_priv A private value to be passed to callback functions
.
Now if I do scsi_hba_tgtmap_set_add(..., priv)
, where priv is some void *
pointer, the void **tgt_privp
argument in activate callback is always NULL
when dereferenced, i.e. tgt_priv
itself is valid pointer, and *tgt_priv
is NULL
.
Actions