lkml.org 
[lkml]   [2016]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [RFC 1/3] x86/vdso: create vdso file, use it for mapping
2016-08-25 18:21 GMT+03:00 Dmitry Safonov <dsafonov@virtuozzo.com>:
> +static char *vdso_vma_name(struct dentry *dentry, char *buffer, int buflen)
> +{
> + return "[vdso]";

It should be:
+ return dynamic_dname(dentry, buffer, buflen, "[vdso]");
returned pointer should be inside buffer.

--
Dmitry

\
 
 \ /
  Last update: 2016-09-17 09:57    [W:0.174 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site