Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1499268
| From | Wayne Porter <wporter82@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 10/45] staging: rts5208: Alignment fixes |
| Date | 2016-10-12 00:20 +0200 |
| Message-ID | <srdyW-415-21@gated-at.bofh.it> (permalink) |
| References | <srdfz-3AM-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cleaning up checkpatch issues Signed-off-by: Wayne Porter <wporter82@gmail.com> --- drivers/staging/rts5208/rtsx_transport.h | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/drivers/staging/rts5208/rtsx_transport.h b/drivers/staging/rts5208/rtsx_transport.h index 4791373..99740c3 100644 --- a/drivers/staging/rts5208/rtsx_transport.h +++ b/drivers/staging/rts5208/rtsx_transport.h @@ -30,18 +30,21 @@ #define WAIT_TIME 2000 unsigned int rtsx_stor_access_xfer_buf(unsigned char *buffer, - unsigned int buflen, struct scsi_cmnd *srb, unsigned int *index, - unsigned int *offset, enum xfer_buf_dir dir); -void rtsx_stor_set_xfer_buf(unsigned char *buffer, - unsigned int buflen, struct scsi_cmnd *srb); -void rtsx_stor_get_xfer_buf(unsigned char *buffer, - unsigned int buflen, struct scsi_cmnd *srb); + unsigned int buflen, + struct scsi_cmnd *srb, + unsigned int *index, + unsigned int *offset, + enum xfer_buf_dir dir); +void rtsx_stor_set_xfer_buf(unsigned char *buffer, unsigned int buflen, + struct scsi_cmnd *srb); +void rtsx_stor_get_xfer_buf(unsigned char *buffer, unsigned int buflen, + struct scsi_cmnd *srb); void rtsx_invoke_transport(struct scsi_cmnd *srb, struct rtsx_chip *chip); #define rtsx_init_cmd(chip) ((chip)->ci = 0) -void rtsx_add_cmd(struct rtsx_chip *chip, - u8 cmd_type, u16 reg_addr, u8 mask, u8 data); +void rtsx_add_cmd(struct rtsx_chip *chip, u8 cmd_type, u16 reg_addr, u8 mask, + u8 data); void rtsx_send_cmd_no_wait(struct rtsx_chip *chip); int rtsx_send_cmd(struct rtsx_chip *chip, u8 card, int timeout); @@ -55,11 +58,12 @@ static inline u8 *rtsx_get_cmd_data(struct rtsx_chip *chip) } int rtsx_transfer_data(struct rtsx_chip *chip, u8 card, void *buf, size_t len, - int use_sg, enum dma_data_direction dma_dir, int timeout); + int use_sg, enum dma_data_direction dma_dir, + int timeout); -int rtsx_transfer_data_partial(struct rtsx_chip *chip, u8 card, - void *buf, size_t len, - int use_sg, unsigned int *index, unsigned int *offset, - enum dma_data_direction dma_dir, int timeout); +int rtsx_transfer_data_partial(struct rtsx_chip *chip, u8 card, void *buf, + size_t len, int use_sg, unsigned int *index, + unsigned int *offset, + enum dma_data_direction dma_dir, int timeout); #endif /* __REALTEK_RTSX_TRANSPORT_H */ -- 2.1.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/45] staging: rts5208: Checkpatch.pl cleanup Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200 [PATCH 11/45] staging: rts5208: Unnecessary parentheses cleanup Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200 [PATCH 08/45] staging: rts5208: sd.c: Fix logical continuations Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200 [PATCH 01/45] staging: rts5208: spi.c: Remove unnecessary parenthesis Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200 [PATCH 12/45] staging: rts5208: Alignment fix Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200 [PATCH 10/45] staging: rts5208: Alignment fixes Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200 [PATCH 13/45] staging: rts5208: Fix typo in function name Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200 [PATCH 02/45] staging: rts5208: spi.c: Alignment fixes Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200 [PATCH 15/45] staging: rts5208: Remove parentheses Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200 [PATCH 04/45] staging: rts5208: sd.c: Remove unnecessary parentheses Wayne Porter <wporter82@gmail.com> - 2016-10-12 00:20 +0200
csiph-web