Project

General

Profile

Actions

Bug #9986

open

ddi_prop_lookup(9F) family should accept const property name

Added by Joshua M. Clulow about 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
kernel
Start date:
2018-11-18
Due date:
% Done:

0%

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

Description

The ddi_prop_lookup family of functions (e.g., ddi_prop_lookup_string(), etc) accept a char *name value naming the property the caller wishes to fetch. These functions don't (and should not!) modify the provided name value, so we should declare that parameter as a const char * instead. The manual page will need to be updated as well.

Actions

Also available in: Atom PDF