mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
staging: rts5208: Fix alignment and a line ending with a '('
checkpatch messaages: CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis Signed-off-by: Frank A. Cancio Bello <frank@generalsoftwareinc.com> Link: https://lore.kernel.org/r/20191028161401.sjhp6qivm6huxpxm@linux-kernel-dev Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6df6f3849b
commit
4f83b7dd1b
@ -873,7 +873,8 @@ static int rtsx_probe(struct pci_dev *pci,
|
||||
(unsigned long)(dev->addr), (unsigned long)(dev->remap_addr));
|
||||
|
||||
dev->rtsx_resv_buf = dmam_alloc_coherent(&pci->dev, RTSX_RESV_BUF_LEN,
|
||||
&dev->rtsx_resv_buf_addr, GFP_KERNEL);
|
||||
&dev->rtsx_resv_buf_addr,
|
||||
GFP_KERNEL);
|
||||
if (!dev->rtsx_resv_buf) {
|
||||
dev_err(&pci->dev, "alloc dma buffer fail\n");
|
||||
err = -ENXIO;
|
||||
|
@ -677,8 +677,8 @@ static int rtsx_transfer_buf(struct rtsx_chip *chip, u8 card, void *buf,
|
||||
spin_unlock_irq(&rtsx->reg_lock);
|
||||
|
||||
/* Wait for TRANS_OK_INT */
|
||||
timeleft = wait_for_completion_interruptible_timeout(
|
||||
&trans_done, msecs_to_jiffies(timeout));
|
||||
timeleft = wait_for_completion_interruptible_timeout(&trans_done,
|
||||
msecs_to_jiffies(timeout));
|
||||
if (timeleft <= 0) {
|
||||
dev_dbg(rtsx_dev(chip), "Timeout (%s %d)\n",
|
||||
__func__, __LINE__);
|
||||
|
Loading…
Reference in New Issue
Block a user