mirror of
https://github.com/opnsense/src.git
synced 2026-04-03 00:15:16 -04:00
mrsas_issue_blocked_cmd stores a pointer to an on-stack variable in its softc so that the driver can call wakeup() on the correct pointer. Once the loop around tsleep() has finished however, the pointer is no longer needed and any further use would be invalid. Clear sc->chan to NULL after the loop. Reported by: GCC -Wdangling-pointer Differential Revision: https://reviews.freebsd.org/D37628 |
||
|---|---|---|
| .. | ||
| mrsas.c | ||
| mrsas.h | ||
| mrsas_cam.c | ||
| mrsas_fp.c | ||
| mrsas_ioctl.c | ||
| mrsas_ioctl.h | ||
| mrsas_linux.c | ||