We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d678216 + 98b4aa8 commit baa48a8Copy full SHA for baa48a8
ppps.c
@@ -79,7 +79,7 @@ void ppps_power(struct device *dev, bool on)
79
dev->ppps_path = temp;
80
}
81
82
- if (dev->ppps3_path[0] != '/') {
+ if (dev->ppps3_path && dev->ppps3_path[0] != '/') {
83
char *temp;
84
85
asprintf(&temp, PPPS_BASE_PATH, dev->ppps3_path);
0 commit comments