Fixed some lines which were more than 80-characters long. Cc: Matt Sickler <matt.sickler@xxxxxxxxxxxxxx> Signed-off-by: Jeremy Sowden <jeremy@xxxxxxxxxx> --- drivers/staging/kpc2000/kpc_dma/fileops.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/drivers/staging/kpc2000/kpc_dma/fileops.c b/drivers/staging/kpc2000/kpc_dma/fileops.c index b77fa5c34dc2..d74300f14dff 100644 --- a/drivers/staging/kpc2000/kpc_dma/fileops.c +++ b/drivers/staging/kpc2000/kpc_dma/fileops.c @@ -309,17 +309,18 @@ int kpc_dma_close(struct inode *inode, struct file *filp) } #ifdef CONFIG_KPC2000_DMA_AIO -static -int kpc_dma_aio_cancel(struct kiocb *kcb) +static int kpc_dma_aio_cancel(struct kiocb *kcb) { struct dev_private_data *priv = kcb->ki_filp->private_data; - dev_dbg(&priv->ldev->pldev->dev, "%s(kcb = [%p]) priv = [%p], ldev = [%p]\n", __func__, kcb, priv, priv->ldev); + dev_dbg(&priv->ldev->pldev->dev, + "%s(kcb = [%p]) priv = [%p], ldev = [%p]\n", + __func__, kcb, priv, priv->ldev); return 0; } -static -ssize_t kpc_dma_aio_read(struct kiocb *kcb, const struct iovec *iov, unsigned long iov_count, loff_t pos) +static ssize_t kpc_dma_aio_read(struct kiocb *kcb, const struct iovec *iov, + unsigned long iov_count, loff_t pos) { struct dev_private_data *priv = kcb->ki_filp->private_data; @@ -327,7 +328,8 @@ ssize_t kpc_dma_aio_read(struct kiocb *kcb, const struct iovec *iov, unsigned return -EMEDIUMTYPE; if (iov_count != 1) { - dev_err(&priv->ldev->pldev->dev, "%s() called with iov_count > 1!\n", __func__); + dev_err(&priv->ldev->pldev->dev, + "%s() called with iov_count > 1!\n", __func__); return -EFAULT; } @@ -336,8 +338,8 @@ ssize_t kpc_dma_aio_read(struct kiocb *kcb, const struct iovec *iov, unsigned return kpc_dma_transfer(priv, kcb, (unsigned long)iov->iov_base, iov->iov_len); } -static -ssize_t kpc_dma_aio_write(struct kiocb *kcb, const struct iovec *iov, unsigned long iov_count, loff_t pos) +static ssize_t kpc_dma_aio_write(struct kiocb *kcb, const struct iovec *iov, + unsigned long iov_count, loff_t pos) { struct dev_private_data *priv = kcb->ki_filp->private_data; @@ -345,7 +347,8 @@ ssize_t kpc_dma_aio_write(struct kiocb *kcb, const struct iovec *iov, unsigned return -EMEDIUMTYPE; if (iov_count != 1) { - dev_err(&priv->ldev->pldev->dev, "%s() called with iov_count > 1!\n", __func__); + dev_err(&priv->ldev->pldev->dev, + "%s() called with iov_count > 1!\n", __func__); return -EFAULT; } -- 2.20.1 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel