Page MenuHomeFreeBSD

D23006.diff
No OneTemporary

D23006.diff

Index: head/sys/dev/extres/regulator/regulator.c
===================================================================
--- head/sys/dev/extres/regulator/regulator.c
+++ head/sys/dev/extres/regulator/regulator.c
@@ -275,8 +275,9 @@
regnode_method_get_voltage(struct regnode *regnode, int *uvolt)
{
- return (regnode->std_param.min_uvolt +
- (regnode->std_param.max_uvolt - regnode->std_param.min_uvolt) / 2);
+ *uvolt = regnode->std_param.min_uvolt +
+ (regnode->std_param.max_uvolt - regnode->std_param.min_uvolt) / 2;
+ return (0);
}
int

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 4:44 PM (21 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14742894
Default Alt Text
D23006.diff (553 B)

Event Timeline