gpio: mockup: fix NULL pointer dereference when removing debugfs
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.19.12 by commit af0bfabf06c74c260265c30ba81a34e7dec0e881, it was introduced in version v5.19.10 by commit bc55c1677edbe86a1c66a35e800df47dff16ad61. For more details please see the references link.