diff --git a/drivers/platform/tegra/nvadsp/app_loader_linker.c b/drivers/platform/tegra/nvadsp/app_loader_linker.c index 303d6993..083a0d4a 100644 --- a/drivers/platform/tegra/nvadsp/app_loader_linker.c +++ b/drivers/platform/tegra/nvadsp/app_loader_linker.c @@ -3,7 +3,7 @@ * * ADSP OS App management * - * Copyright (C) 2014-2020 NVIDIA Corporation. All rights reserved. + * Copyright (C) 2014-2022 NVIDIA Corporation. All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and @@ -701,7 +701,7 @@ static struct adsp_module *setup_load_info(struct load_info *info) if (info->index.sym == 0) { dev_warn(dev, "%s: module has no symbols (stripped?)\n", - mod->name); + info->name); kfree(mod); return ERR_PTR(-ENOEXEC); }