Project

General

Profile

Actions

Bug #6718

closed

tran_tgt_init(9E) returns int, not void

Added by Joshua M. Clulow about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
manpage - manual pages
Start date:
2016-03-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

In the manual page tran_tgt_init(9E), it seems that the return type in the SYNOPSIS is incorrect:

TRAN_TGT_INIT(9E)             Driver Entry Points            TRAN_TGT_INIT(9E)

NAME
       tran_tgt_init - request to initialize HBA resources on behalf of a
       particular target

SYNOPSIS
       #include <sys/scsi/scsi.h>

       void prefixtran_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip,
            scsi_hba_tran_t *hba_tran, struct scsi_device *sd);

It is listed here as void, but it should be int.

Actions #1

Updated by Robert Mustacchi about 5 years ago

  • Assignee set to Robert Mustacchi
Actions #2

Updated by Electric Monk about 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 4854f07f374eaa71835ef1badc7ba55466f85ef9

commit  4854f07f374eaa71835ef1badc7ba55466f85ef9
Author: Robert Mustacchi <rm@joyent.com>
Date:   2016-03-25T23:47:23.000Z

    6718 tran_tgt_init(9E) returns int, not void
    Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
    Reviewed by: Volker A. Brandt <vab@bb-c.de>
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Reviewed by: Albert Lee <trisk@omniti.com>
    Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>

Actions

Also available in: Atom PDF