diff options
author | Steve French <sfrench@us.ibm.com> | 2008-05-13 00:54:12 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-05-13 00:54:12 -0400 |
commit | 582d21e5e319d38c0485d8b9e92f6f2341f7c79b (patch) | |
tree | e552b4c26ab7af70e31f10dedc90a9ead8d27512 /fs/cifs/connect.c | |
parent | ed5f037005d728de19a0f63678ac35b42064966d (diff) |
[CIFS] cleanup old checkpatch warnings
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 8e2fa6d46c72..7c2e5ea03305 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -1820,7 +1820,7 @@ convert_delimiter(char *path, char delim) | |||
1820 | if (path == NULL) | 1820 | if (path == NULL) |
1821 | return; | 1821 | return; |
1822 | 1822 | ||
1823 | if (delim == '/') | 1823 | if (delim == '/') |
1824 | old_delim = '\\'; | 1824 | old_delim = '\\'; |
1825 | else | 1825 | else |
1826 | old_delim = '/'; | 1826 | old_delim = '/'; |
@@ -2321,9 +2321,10 @@ CIFSSessSetup(unsigned int xid, struct cifsSesInfo *ses, | |||
2321 | user = ses->userName; | 2321 | user = ses->userName; |
2322 | domain = ses->domainName; | 2322 | domain = ses->domainName; |
2323 | smb_buffer = cifs_buf_get(); | 2323 | smb_buffer = cifs_buf_get(); |
2324 | if (smb_buffer == NULL) { | 2324 | |
2325 | if (smb_buffer == NULL) | ||
2325 | return -ENOMEM; | 2326 | return -ENOMEM; |
2326 | } | 2327 | |
2327 | smb_buffer_response = smb_buffer; | 2328 | smb_buffer_response = smb_buffer; |
2328 | pSMBr = pSMB = (SESSION_SETUP_ANDX *) smb_buffer; | 2329 | pSMBr = pSMB = (SESSION_SETUP_ANDX *) smb_buffer; |
2329 | 2330 | ||