On Wed, 7 Jan 2015 14:03:29 +0100
David Marchand wrote:
> + buf = strdup(devargs_str);
> + if (buf == NULL) {
> + RTE_LOG(ERR, EAL, "cannot allocate temp memory for devargs\n");
> + goto fail;
> + }
> +
If string is only used in same function you might
As far as I know, there is no reason why we should have a limit on the length of
parameters that can be given for a device.
Remove this limit by using dynamic allocations.
Signed-off-by: David Marchand
---
lib/librte_eal/common/eal_common_devargs.c | 26 +-
2 matches
Mail list logo