Messages in this thread Patch in this message | | | From | Wayne Porter <> | Subject | [PATCH 32/45] staging: rts5208: rtsx.c: Spacing | Date | Tue, 11 Oct 2016 21:56:48 +0000 |
| |
Add spaces around operator for readability
Signed-off-by: Wayne Porter <wporter82@gmail.com> --- drivers/staging/rts5208/rtsx.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/rts5208/rtsx.c b/drivers/staging/rts5208/rtsx.c index c88200b..f611d3d 100644 --- a/drivers/staging/rts5208/rtsx.c +++ b/drivers/staging/rts5208/rtsx.c @@ -122,7 +122,10 @@ static int slave_configure(struct scsi_device *sdev) /* we use this macro to help us write into the buffer */ #undef SPRINTF #define SPRINTF(args...) \ - do { if (pos < buffer+length) pos += sprintf(pos, ## args); } while (0) + do { \ + if (pos < buffer + length) \ + pos += sprintf(pos, ## args); \ + } while (0) /* queue a command */ /* This is always called with scsi_lock(host) held */ -- 2.1.4
| |