Nvidia driver failed to load after kernel update to 5.11.0-41-generic

After Ubuntu 20.04 default update to newer kernel 5.11.0-41-generic, nvidia driver 470 stopped loading. I used nvidia-bug-report.sh to generate the report which reveals issue in the kernel compilation. The driver for GeForce 940MX was installed using

sudo ubuntu-drivers autoinstall

nvidia-bug-report.log.gz (118.8 KB)

I have attached the bug report and request any solution to resolve the issue.