diff options
-rw-r--r-- | linux-core/drm_proc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-core/drm_proc.c b/linux-core/drm_proc.c index b6748b9b..7f185209 100644 --- a/linux-core/drm_proc.c +++ b/linux-core/drm_proc.c @@ -175,6 +175,9 @@ static int drm_name_info(char *buf, char **start, off_t offset, int request, return 0; } + if (!master) + return 0; + *start = &buf[offset]; *eof = 0; |