mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
428 B
24 lines
428 B
/* SPDX-License-Identifier: GPL-2.0 */ |
|
|
|
#ifndef _UFS_FAULT_INJECTION_H |
|
#define _UFS_FAULT_INJECTION_H |
|
|
|
#include <linux/kconfig.h> |
|
#include <linux/types.h> |
|
|
|
#ifdef CONFIG_SCSI_UFS_FAULT_INJECTION |
|
bool ufs_trigger_eh(void); |
|
bool ufs_fail_completion(void); |
|
#else |
|
static inline bool ufs_trigger_eh(void) |
|
{ |
|
return false; |
|
} |
|
|
|
static inline bool ufs_fail_completion(void) |
|
{ |
|
return false; |
|
} |
|
#endif |
|
|
|
#endif /* _UFS_FAULT_INJECTION_H */
|
|
|