devm_kasprintf — Allocate resource managed space and format a string into that.
char * devm_kasprintf ( | struct device * dev, |
| gfp_t gfp, | |
| const char * fmt, | |
...); |
devDevice to allocate memory for
gfp
the GFP mask used in the devm_kmalloc call when
allocating memory
fmt
The printf-style format string
@...: Arguments for the format string
...variable arguments