Creating clang-tidy linuxkernel-must-use-errs errors


I am trying to test out the linuxkernel-must-use-errs check on some files, and I have been following linuxkernel-must-use-errs documentation to intentionally add errors into the code, but they all cause compiler errors before letting clang-tidy run. I am looking for better examples of errors that would be caught by this check.

Thank you