freebsd-dev/sys/arm64/qoriq
Ian Lepore 1acf73d544 qoriq_therm.c: avoid a segfault on the error exit path.
If anything goes wrong during attach() it is handled with a 'goto fail'
which calls sysctl_ctx_free().  But the sysctl context doesn't get
initialized until very late in attach(), so almost any error just results
in a segfault.  Move the sysctl_ctx_init() call to the beginning of the
attach() function, so that it is done before any errors can happen that
will lead to freeing the context.
2021-09-28 12:19:44 -06:00
..
clk Add LS1028A clockgen driver 2021-05-07 03:48:53 +02:00
qoriq_dw_pci.c qoriq_dw_pci: Fix typo in link status checking code 2021-08-31 06:22:33 +02:00
qoriq_therm_if.m Add basic support for Freescale LX2160A SoC. 2020-12-05 12:08:37 +00:00
qoriq_therm.c qoriq_therm.c: avoid a segfault on the error exit path. 2021-09-28 12:19:44 -06:00