File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,25 +21,25 @@ extern atomic64_t s390_arch_random_counter;
21
21
22
22
bool s390_arch_random_generate (u8 * buf , unsigned int nbytes );
23
23
24
- static inline bool arch_get_random_long (unsigned long * v )
24
+ static inline bool __must_check arch_get_random_long (unsigned long * v )
25
25
{
26
26
return false;
27
27
}
28
28
29
- static inline bool arch_get_random_int (unsigned int * v )
29
+ static inline bool __must_check arch_get_random_int (unsigned int * v )
30
30
{
31
31
return false;
32
32
}
33
33
34
- static inline bool arch_get_random_seed_long (unsigned long * v )
34
+ static inline bool __must_check arch_get_random_seed_long (unsigned long * v )
35
35
{
36
36
if (static_branch_likely (& s390_arch_random_available )) {
37
37
return s390_arch_random_generate ((u8 * )v , sizeof (* v ));
38
38
}
39
39
return false;
40
40
}
41
41
42
- static inline bool arch_get_random_seed_int (unsigned int * v )
42
+ static inline bool __must_check arch_get_random_seed_int (unsigned int * v )
43
43
{
44
44
if (static_branch_likely (& s390_arch_random_available )) {
45
45
return s390_arch_random_generate ((u8 * )v , sizeof (* v ));
You can’t perform that action at this time.
0 commit comments