ufs-fault-injection.h (428B)
1/* SPDX-License-Identifier: GPL-2.0 */ 2 3#ifndef _UFS_FAULT_INJECTION_H 4#define _UFS_FAULT_INJECTION_H 5 6#include <linux/kconfig.h> 7#include <linux/types.h> 8 9#ifdef CONFIG_SCSI_UFS_FAULT_INJECTION 10bool ufs_trigger_eh(void); 11bool ufs_fail_completion(void); 12#else 13static inline bool ufs_trigger_eh(void) 14{ 15 return false; 16} 17 18static inline bool ufs_fail_completion(void) 19{ 20 return false; 21} 22#endif 23 24#endif /* _UFS_FAULT_INJECTION_H */