From: Mark Brown Date: Wed, 22 Apr 2026 14:10:22 +0000 (+0100) Subject: spi: fix resource leaks on device setup failure X-Git-Tag: ceph-for-7.1-rc4~108^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=16ab65df5d867961a79cef366cdb33f09ebda603;p=ceph-client.git spi: fix resource leaks on device setup failure Johan Hovold says: Make sure to call controller cleanup() if spi_setup() fails while registering a device to avoid leaking any resources allocated by setup(). --- 16ab65df5d867961a79cef366cdb33f09ebda603