Commit 5b2ff48
cifs: Fix TCP_Server_Info::credits to be signed
Fix TCP_Server_Info::credits to be signed, just as echo_credits and
oplock_credits are. This also fixes what ought to get at least a
compilation warning if not an outright error in *get_credits_field() as a
pointer to the unsigned server->credits field is passed back as a pointer
to a signed int.
Signed-off-by: David Howells <[email protected]>
cc: [email protected]
Cc: [email protected]
Acked-by: Paulo Alcantara (Red Hat) <[email protected]>
Acked-by: Pavel Shilovskiy <[email protected]>
Signed-off-by: Steve French <[email protected]>1 parent 5da6fb6 commit 5b2ff48
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
732 | 732 | | |
733 | 733 | | |
734 | 734 | | |
735 | | - | |
| 735 | + | |
736 | 736 | | |
737 | 737 | | |
738 | 738 | | |
| |||
0 commit comments