Fixed a coding style issue as a part of Eudyptula Challenge
Subsystems (3)
PATCH 1/1 Fixed a coding style issue as a part of Eudyptula Challenge
--- drivers/staging/iio/trigger/iio-trig-bfin-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/iio/trigger/iio-trig-bfin-timer.c +1 -1
@@ -133,7 +133,7 @@ static ssize_t iio_bfin_tmr_frequency_show(struct device *dev,return sprintf (buf,"%lu\n" , val); } -static DEVICE_ATTR(frequency, S_IRUGO | S_IWUSR, iio_bfin_tmr_frequency_show, +static DEVICE_ATTR(frequency, 0644, iio_bfin_tmr_frequency_show, iio_bfin_tmr_frequency_store);static struct attribute *iio_bfin_tmr_trigger_attrs[] = {
Signature · 1 line
2.7.4
Hi rishabh,
Congrats on reaching that far on Eudyptula challenge. Anyhow, you should write a proper commit message to this patch.
The subject should briefly describe why the patch is needed.
E.g: iio:trigger: Fix coding style
What actually has been fixed and how did you find it. (I assume you used checkpatch.pl)
Daniel.
Quoted 25 lines · rishabh hardas
Signed-off-by rishabh hardas <[email protected]>--- drivers/staging/iio/trigger/iio-trig-bfin-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/iio/trigger/iio-trig-bfin-timer.c +1
-2@@ -133,7 +133,7 @@ static ssize_t iio_bfin_tmr_frequency_show(struct device *dev,return sprintf (buf,"%lu\n" , val); } -static DEVICE_ATTR(frequency, S_IRUGO | S_IWUSR, iio_bfin_tmr_frequency_show, +static DEVICE_ATTR(frequency, 0644, iio_bfin_tmr_frequency_show, iio_bfin_tmr_frequency_store);static struct attribute *iio_bfin_tmr_trigger_attrs[] = { --2.7.4
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Jonathan Cameron
maintainerQuoted 5 lines · Daniel Baluta
Hi rishabh,
Congrats on reaching that far on Eudyptula challenge. Anyhow, you should write a proper commit message to this patch.
Quoted 8 lines
The subject should briefly describe why the patch is needed.
E.g: iio:trigger: Fix coding style
What actually has been fixed and how did you find it. (I assume you used checkpatch.pl)
Daniel.
Thanks Daniel, just what I was going to say!
Can't take a patch with a title that doesn't summarize what it is doing.
Jonathan
Quoted 34 lines
Quoted 21 lines · rishabh hardas
Signed-off-by rishabh hardas <[email protected]>--- drivers/staging/iio/trigger/iio-trig-bfin-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/iio/trigger/iio-trig-bfin-timer.c +1
-2@@ -133,7 +133,7 @@ static ssize_t iio_bfin_tmr_frequency_show(struct device *dev,return sprintf (buf,"%lu\n" , val); } -static DEVICE_ATTR(frequency, S_IRUGO | S_IWUSR, iio_bfin_tmr_frequency_show, +static DEVICE_ATTR(frequency, 0644, iio_bfin_tmr_frequency_show, iio_bfin_tmr_frequency_store);static struct attribute *iio_bfin_tmr_trigger_attrs[] = { --2.7.4
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html