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.
1 parent d678216 commit 98b4aa8Copy full SHA for 98b4aa8
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