Project

General

Profile

Actions

Bug #14542

open

ddi_prop* and friends can probably take const strings

Added by Rich Lowe 4 months ago. Updated 4 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
kernel
Start date:
Due date:
% Done:

0%

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

Description

Doing something else, I noticed that ndi_prop_update_string and from there most of the ddi property functions take 'char *'.
Glancing at them, it looks like the 'name' argument to everything related could be const


Related issues

Is duplicate of illumos gate - Bug #9986: ddi_prop_lookup(9F) family should accept const property nameNew2018-11-18

Actions
Actions #1

Updated by Robert Mustacchi 4 months ago

I think this might be a dup of #9986?

Actions #2

Updated by Rich Lowe 4 months ago

Well, I was hoping we'd const them all not just the prop name, but otherwise yes.

Actions #3

Updated by Rich Lowe 4 months ago

  • Is duplicate of Bug #9986: ddi_prop_lookup(9F) family should accept const property name added
Actions

Also available in: Atom PDF