]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fuspi: silence build warning, plug resource leak
authorphilip <philip@FreeBSD.org>
Mon, 9 Mar 2020 04:09:36 +0000 (04:09 +0000)
committerphilip <philip@FreeBSD.org>
Mon, 9 Mar 2020 04:09:36 +0000 (04:09 +0000)
commite8addac815f1228db13316a40d468a8bce246096
treec60314d080784411c24bcc5e23aef9f074e7db24
parentd1bd50b048cce93d204e982ebbfe8abd38875b68
fuspi: silence build warning, plug resource leak

This silences an "unused label" warning as well as fixes the attach fail
path that wasn't releasing resources.

Submitted by:   Nicholas O'Brien <nickisobrien_gmail.com>
Sponsored by: Axiado
Differential Revision: https://reviews.freebsd.org/D24004
sys/riscv/sifive/fu540_spi.c