![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 0003 #ifndef _UFS_FAULT_INJECTION_H 0004 #define _UFS_FAULT_INJECTION_H 0005 0006 #include <linux/kconfig.h> 0007 #include <linux/types.h> 0008 0009 #ifdef CONFIG_SCSI_UFS_FAULT_INJECTION 0010 bool ufs_trigger_eh(void); 0011 bool ufs_fail_completion(void); 0012 #else 0013 static inline bool ufs_trigger_eh(void) 0014 { 0015 return false; 0016 } 0017 0018 static inline bool ufs_fail_completion(void) 0019 { 0020 return false; 0021 } 0022 #endif 0023 0024 #endif /* _UFS_FAULT_INJECTION_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |