Project

General

Profile

Actions

Bug #14468

open

priv value passed to scsi_hba_tgtmap_set_add() is not passed to activate callback

Added by Yuri Pankov 5 months ago. Updated 5 months ago.

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 #1

Updated by Yuri Pankov 5 months ago

  • Description updated (diff)
Actions

Also available in: Atom PDF