Commit f0b6a83
smb: client: fix warning in generic_ip_connect()
This fixes the following warning reported by kernel test robot
fs/smb/client/connect.c:2974 generic_ip_connect() error: we
previously assumed 'socket' could be null (see line 2962)
Link: https://lore.kernel.org/all/202306170124.CtQqzf0I-lkp@intel.com/
Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>1 parent 215533f commit f0b6a83
1 file changed
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2934 | 2934 | | |
2935 | 2935 | | |
2936 | 2936 | | |
2937 | | - | |
2938 | | - | |
2939 | | - | |
2940 | | - | |
2941 | 2937 | | |
| 2938 | + | |
| 2939 | + | |
| 2940 | + | |
| 2941 | + | |
2942 | 2942 | | |
2943 | 2943 | | |
2944 | 2944 | | |
| |||
2960 | 2960 | | |
2961 | 2961 | | |
2962 | 2962 | | |
2963 | | - | |
| 2963 | + | |
| 2964 | + | |
| 2965 | + | |
2964 | 2966 | | |
2965 | | - | |
| 2967 | + | |
2966 | 2968 | | |
2967 | 2969 | | |
2968 | | - | |
2969 | 2970 | | |
2970 | 2971 | | |
2971 | 2972 | | |
2972 | 2973 | | |
2973 | 2974 | | |
2974 | | - | |
| 2975 | + | |
2975 | 2976 | | |
2976 | 2977 | | |
2977 | 2978 | | |
| |||
0 commit comments