Revision f78947c409204138a4bc0609f98e07ef9d01ac0a authored by Jon Derrick on 31 December 2019, 20:24:20 UTC, committed by Joerg Roedel on 07 January 2020, 16:08:57 UTC
If the device fails to be added to the group, make sure to unlink the
reference before returning.

Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Fixes: 39ab9555c2411 ("iommu: Add sysfs bindings for struct iommu_device")
Acked-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 parent 7d4e6cc
Raw File
keyring-type.h
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Keyring key type
 *
 * Copyright (C) 2008, 2013 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells (dhowells@redhat.com)
 */

#ifndef _KEYS_KEYRING_TYPE_H
#define _KEYS_KEYRING_TYPE_H

#include <linux/key.h>
#include <linux/assoc_array.h>

#endif /* _KEYS_KEYRING_TYPE_H */
back to top