You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
staging: slicoss: Fix space-related checkpatch.pl warnings
This fixes all instances of "Please, no spaces at start of a new line" "Please, no spaces before tabs" Please note that I probably got the warning names wrong, but they should be close enough for usage here :) Additional post-commit note: There is one comment on line 230ish in slic.h that appears to have lost it's formatting. It was fine when I was working in Geany, but it caught my eye in the below diff. Sorry if it actually happened! Signed-off-by: Cruz Julian Bishop <cruzjbishop@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
83682cd2fe
commit
2fbedf67ed
+251
-251
File diff suppressed because it is too large
Load Diff
@@ -450,7 +450,7 @@ struct slic_regs {
|
||||
u32 pad34;
|
||||
#define SLIC_DBAR64 0x0108
|
||||
|
||||
u32 slic_cbar64; /* 64 bit Xmt Cmd buf addr regs. */
|
||||
u32 slic_cbar64; /* 64 bit Xmt Cmd buf addr regs. */
|
||||
u32 pad35;
|
||||
#define SLIC_CBAR64 0x0110
|
||||
|
||||
@@ -478,11 +478,11 @@ struct slic_regs {
|
||||
|
||||
u32 slic_read_xf_info; /* Read Transformer info */
|
||||
u32 pad41;
|
||||
#define SLIC_READ_XF_INFO 0x0140
|
||||
#define SLIC_READ_XF_INFO 0x0140
|
||||
|
||||
u32 slic_write_xf_info; /* Write Transformer info */
|
||||
u32 pad42;
|
||||
#define SLIC_WRITE_XF_INFO 0x0148
|
||||
#define SLIC_WRITE_XF_INFO 0x0148
|
||||
|
||||
u32 RSVD1; /* TOE Only */
|
||||
u32 pad43;
|
||||
|
||||
@@ -144,24 +144,24 @@ MODULE_DEVICE_TABLE(pci, slic_pci_tbl);
|
||||
|
||||
#define SLIC_GET_SLIC_HANDLE(_adapter, _pslic_handle) \
|
||||
{ \
|
||||
spin_lock_irqsave(&_adapter->handle_lock.lock, \
|
||||
spin_lock_irqsave(&_adapter->handle_lock.lock, \
|
||||
_adapter->handle_lock.flags); \
|
||||
_pslic_handle = _adapter->pfree_slic_handles; \
|
||||
if (_pslic_handle) { \
|
||||
_adapter->pfree_slic_handles = _pslic_handle->next; \
|
||||
} \
|
||||
spin_unlock_irqrestore(&_adapter->handle_lock.lock, \
|
||||
_pslic_handle = _adapter->pfree_slic_handles; \
|
||||
if (_pslic_handle) { \
|
||||
_adapter->pfree_slic_handles = _pslic_handle->next; \
|
||||
} \
|
||||
spin_unlock_irqrestore(&_adapter->handle_lock.lock, \
|
||||
_adapter->handle_lock.flags); \
|
||||
}
|
||||
|
||||
#define SLIC_FREE_SLIC_HANDLE(_adapter, _pslic_handle) \
|
||||
{ \
|
||||
_pslic_handle->type = SLIC_HANDLE_FREE; \
|
||||
spin_lock_irqsave(&_adapter->handle_lock.lock, \
|
||||
_pslic_handle->type = SLIC_HANDLE_FREE; \
|
||||
spin_lock_irqsave(&_adapter->handle_lock.lock, \
|
||||
_adapter->handle_lock.flags); \
|
||||
_pslic_handle->next = _adapter->pfree_slic_handles; \
|
||||
_adapter->pfree_slic_handles = _pslic_handle; \
|
||||
spin_unlock_irqrestore(&_adapter->handle_lock.lock, \
|
||||
_pslic_handle->next = _adapter->pfree_slic_handles; \
|
||||
_adapter->pfree_slic_handles = _pslic_handle; \
|
||||
spin_unlock_irqrestore(&_adapter->handle_lock.lock, \
|
||||
_adapter->handle_lock.flags); \
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user