mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
commitdd218433f2upstream. The devm_memremap() function returns error pointers. It never returns NULL. Fix the check. Fixes:7ca5ce8965("firmware: add Intel Stratix10 service layer driver") Cc: stable@vger.kernel.org Signed-off-by: Wang Ming <machel@vivo.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org> Link: https://lore.kernel.org/r/20230727193750.983795-1-dinguyen@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
907216337b
commit
72eca651d7
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue