Project

General

Profile

Feature #8345

want macros for SCSI WWN buffer lengths

Added by Robert Mustacchi over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
kernel
Start date:
2017-06-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

We'd like macros to indicate the number of bytes that strlen() would report for SCSI WWN buffers as well as a macro for a useful sized buffer that's large enough for any of these. This has been useful in the development of the smrt driver as well as other user land enhancements that work with the scsi_wwnstr_to_wwn family of functions.

History

#1

Updated by Electric Monk over 2 years ago

  • Status changed from New to Closed

git commit 8b95ebbdc26a86f5cb0a11d23e49efed22600aa6

commit  8b95ebbdc26a86f5cb0a11d23e49efed22600aa6
Author: Robert Mustacchi <rm@joyent.com>
Date:   2017-07-12T20:40:13.000Z

    8345 want macros for SCSI WWN buffer lengths
    Reviewed by: Joshua M. Clulow <jmc@joyent.com>
    Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF