Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1238133 > unrolled thread

[PATCH] staging: media: bcm2048: Fixed line over 80 characters long

Started byAnjali Menon <cse.anjalimenon@gmail.com>
First post2015-10-02 13:30 +0200
Last post2015-10-02 15:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] staging: media: bcm2048: Fixed line over 80 characters long Anjali Menon <cse.anjalimenon@gmail.com> - 2015-10-02 13:30 +0200
    Re: [PATCH] staging: media: bcm2048: Fixed line over 80 characters  long Greg KH <gregkh@linuxfoundation.org> - 2015-10-02 15:40 +0200

#1238133 — [PATCH] staging: media: bcm2048: Fixed line over 80 characters long

FromAnjali Menon <cse.anjalimenon@gmail.com>
Date2015-10-02 13:30 +0200
Subject[PATCH] staging: media: bcm2048: Fixed line over 80 characters long
Message-ID<qf6Hg-1V1-19@gated-at.bofh.it>
This is a patch that fixes line over 80 characters coding style
warning detected by checkpatch.pl.

WARNING: line over 80 characters

Signed-off-by: Anjali Menon <cse.anjalimenon@gmail.com>
---
 drivers/staging/media/bcm2048/radio-bcm2048.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c b/drivers/staging/media/bcm2048/radio-bcm2048.c
index 5144b40..5362a29 100644
--- a/drivers/staging/media/bcm2048/radio-bcm2048.c
+++ b/drivers/staging/media/bcm2048/radio-bcm2048.c
@@ -2243,7 +2243,8 @@ static ssize_t bcm2048_fops_read(struct file *file, char __user *buf,
 
 		tmpbuf[i] = bdev->rds_info.radio_text[bdev->rd_index+i+2];
 		tmpbuf[i+1] = bdev->rds_info.radio_text[bdev->rd_index+i+1];
-		tmpbuf[i+2] = (bdev->rds_info.radio_text[bdev->rd_index + i] & 0xf0) >> 4;
+		tmpbuf[i+2] = (bdev->rds_info.radio_text[bdev->rd_index + i]
+				& 0xf0) >> 4;
 		if ((bdev->rds_info.radio_text[bdev->rd_index+i] &
 			BCM2048_RDS_CRC_MASK) == BCM2048_RDS_CRC_UNRECOVARABLE)
 			tmpbuf[i+2] |= 0x80;
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1238233 — Re: [PATCH] staging: media: bcm2048: Fixed line over 80 characters long

FromGreg KH <gregkh@linuxfoundation.org>
Date2015-10-02 15:40 +0200
SubjectRe: [PATCH] staging: media: bcm2048: Fixed line over 80 characters long
Message-ID<qf8J6-4MS-59@gated-at.bofh.it>
In reply to#1238133
On Fri, Oct 02, 2015 at 04:55:59PM +0530, Anjali Menon wrote:
> This is a patch that fixes line over 80 characters coding style
> warning detected by checkpatch.pl.
> 
> WARNING: line over 80 characters
> 
> Signed-off-by: Anjali Menon <cse.anjalimenon@gmail.com>
> ---
>  drivers/staging/media/bcm2048/radio-bcm2048.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Please use scripts/get_maintainers.pl to see that I can't take this
patch, sorry.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web