topo_node_label_set() should take a const char* instead of char*
lib - userland libraries
It's a minor issue, but it'd be preferable if topo_node_label_set() took a const char* as the type for the "label" param. This would allow us to clean up consumers that are forced to cast away the const when they call it.
Updated by Electric Monk over 1 year ago
- Status changed from New to Closed
commit 672fc84a1840ce8ef60fc752e9ea374723d1135a Author: Robert Mustacchi <email@example.com> Date: 2019-01-28T06:30:32.000Z 10242 Project Tiresias: USB topology 10243 topo_node_label_set() should take a const char* instead of char* Reviewed by: Jerry Jelinek <firstname.lastname@example.org> Reviewed by: Rob Johnston <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org>