Scroll to navigation

SCSI_DEV_INFO_LIST_F(9) SCSI mid layer SCSI_DEV_INFO_LIST_F(9)

NAME

scsi_dev_info_list_find - find a matching dev_info list entry.

SYNOPSIS

struct scsi_dev_info_list * scsi_dev_info_list_find(const char * vendor, const char * model, int key);

ARGUMENTS

vendor

full vendor string

model

full model (product) string

key

specify list to use

DESCRIPTION

Finds the first dev_info entry matching vendor, model in list specified by key.

RETURNS

pointer to matching entry, or ERR_PTR on failure.

AUTHORS

James Bottomley <James.Bottomley@hansenpartnership.com>

Author.

Rob Landley <rob@landley.net>

Author.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10