outreachy.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* Outreachy
@ 2023-03-15 13:17 Menna Mahmoud
  2023-03-15 14:03 ` Outreachy Dan Carpenter
  0 siblings, 1 reply; 13+ messages in thread
From: Menna Mahmoud @ 2023-03-15 13:17 UTC (permalink / raw)
  To: Michael.Hennerich, lars, jic23, gregkh, linux-iio, linux-staging,
	linux-kernel, Outreachy Linux Kernel

Hi Mentors,


I am Menna, Outreachy applicant and I work on my clean-up patches.

Is it Okay to work on this error reported by checkpatch script?


drivers/staging/iio/frequency/ad9832.c
--------------------------------------
ERROR: Use 4 digit octal (0777) not decimal permissions
#256: FILE: drivers/staging/iio/frequency/ad9832.c:256:
+static IIO_DEV_ATTR_FREQ(0, 1, 0200, NULL, ad9832_write, AD9832_FREQ1HM);
ERROR: Use 4 digit octal (0777) not decimal permissions
#257: FILE: drivers/staging/iio/frequency/ad9832.c:257:
+static IIO_DEV_ATTR_FREQSYMBOL(0, 0200, NULL, ad9832_write, 
AD9832_FREQ_SYM);
ERROR: Use 4 digit octal (0777) not decimal permissions
#260: FILE: drivers/staging/iio/frequency/ad9832.c:260:
+static IIO_DEV_ATTR_PHASE(0, 0, 0200, NULL, ad9832_write, AD9832_PHASE0H);
ERROR: Use 4 digit octal (0777) not decimal permissions
#261: FILE: drivers/staging/iio/frequency/ad9832.c:261:
+static IIO_DEV_ATTR_PHASE(0, 1, 0200, NULL, ad9832_write, AD9832_PHASE1H);
ERROR: Use 4 digit octal (0777) not decimal permissions
#262: FILE: drivers/staging/iio/frequency/ad9832.c:262:
+static IIO_DEV_ATTR_PHASE(0, 2, 0200, NULL, ad9832_write, AD9832_PHASE2H);
ERROR: Use 4 digit octal (0777) not decimal permissions
#263: FILE: drivers/staging/iio/frequency/ad9832.c:263:
+static IIO_DEV_ATTR_PHASE(0, 3, 0200, NULL, ad9832_write, AD9832_PHASE3H);
ERROR: Use 4 digit octal (0777) not decimal permissions
#264: FILE: drivers/staging/iio/frequency/ad9832.c:264:
+static IIO_DEV_ATTR_PHASESYMBOL(0, 0200, NULL,
+                ad9832_write, AD9832_PHASE_SYM);
ERROR: Use 4 digit octal (0777) not decimal permissions
#268: FILE: drivers/staging/iio/frequency/ad9832.c:268:
+static IIO_DEV_ATTR_PINCONTROL_EN(0, 0200, NULL,
+                ad9832_write, AD9832_PINCTRL_EN);
ERROR: Use 4 digit octal (0777) not decimal permissions
#270: FILE: drivers/staging/iio/frequency/ad9832.c:270:
+static IIO_DEV_ATTR_OUT_ENABLE(0, 0200, NULL,
+                ad9832_write, AD9832_OUTPUT_EN);
total: 9 errors, 0 warnings, 0 checks, 462 lines checked



Thanks in advance,

Menna




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Outreachy
  2023-03-15 13:17 Outreachy Menna Mahmoud
@ 2023-03-15 14:03 ` Dan Carpenter
  2023-03-15 19:24   ` Outreachy Randy Dunlap
  0 siblings, 1 reply; 13+ messages in thread
From: Dan Carpenter @ 2023-03-15 14:03 UTC (permalink / raw)
  To: Menna Mahmoud
  Cc: Michael.Hennerich, lars, jic23, gregkh, linux-iio, linux-staging,
	linux-kernel, Outreachy Linux Kernel

On Wed, Mar 15, 2023 at 03:17:28PM +0200, Menna Mahmoud wrote:
> Hi Mentors,
> 
> 
> I am Menna, Outreachy applicant and I work on my clean-up patches.
> 
> Is it Okay to work on this error reported by checkpatch script?
> 
> 
> drivers/staging/iio/frequency/ad9832.c
> --------------------------------------
> ERROR: Use 4 digit octal (0777) not decimal permissions
> #256: FILE: drivers/staging/iio/frequency/ad9832.c:256:
> +static IIO_DEV_ATTR_FREQ(0, 1, 0200, NULL, ad9832_write, AD9832_FREQ1HM);

What???  Is it complaining about the 0200?  That is octal.  Why is
checkpatch complaining about this?  Am I wrong?  Maybe I am misreading.

I could investigate, but I am leaving that task to you.  It may be that
checkpatch has a problem and you can fix that instead.

regards,
dan carpenter


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Outreachy
  2023-03-15 14:03 ` Outreachy Dan Carpenter
@ 2023-03-15 19:24   ` Randy Dunlap
  2023-03-15 20:09     ` Outreachy Lars-Peter Clausen
  0 siblings, 1 reply; 13+ messages in thread
From: Randy Dunlap @ 2023-03-15 19:24 UTC (permalink / raw)
  To: Dan Carpenter, Menna Mahmoud
  Cc: Michael.Hennerich, lars, jic23, gregkh, linux-iio, linux-staging,
	linux-kernel, Outreachy Linux Kernel



On 3/15/23 07:03, Dan Carpenter wrote:
> On Wed, Mar 15, 2023 at 03:17:28PM +0200, Menna Mahmoud wrote:
>> Hi Mentors,
>>
>>
>> I am Menna, Outreachy applicant and I work on my clean-up patches.
>>
>> Is it Okay to work on this error reported by checkpatch script?
>>
>>
>> drivers/staging/iio/frequency/ad9832.c
>> --------------------------------------
>> ERROR: Use 4 digit octal (0777) not decimal permissions
>> #256: FILE: drivers/staging/iio/frequency/ad9832.c:256:
>> +static IIO_DEV_ATTR_FREQ(0, 1, 0200, NULL, ad9832_write, AD9832_FREQ1HM);
> 
> What???  Is it complaining about the 0200?  That is octal.  Why is
> checkpatch complaining about this?  Am I wrong?  Maybe I am misreading.
> 
> I could investigate, but I am leaving that task to you.  It may be that
> checkpatch has a problem and you can fix that instead.
> 

Yes, checkpatch seems to be confused here.

-- 
~Randy

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Outreachy
  2023-03-15 19:24   ` Outreachy Randy Dunlap
@ 2023-03-15 20:09     ` Lars-Peter Clausen
  2023-03-19 11:20       ` Outreachy Menna Mahmoud
  0 siblings, 1 reply; 13+ messages in thread
From: Lars-Peter Clausen @ 2023-03-15 20:09 UTC (permalink / raw)
  To: Randy Dunlap, Dan Carpenter, Menna Mahmoud
  Cc: Michael.Hennerich, jic23, gregkh, linux-iio, linux-staging,
	linux-kernel, Outreachy Linux Kernel

On 3/15/23 12:24, Randy Dunlap wrote:
>
> On 3/15/23 07:03, Dan Carpenter wrote:
>> On Wed, Mar 15, 2023 at 03:17:28PM +0200, Menna Mahmoud wrote:
>>> Hi Mentors,
>>>
>>>
>>> I am Menna, Outreachy applicant and I work on my clean-up patches.
>>>
>>> Is it Okay to work on this error reported by checkpatch script?
>>>
>>>
>>> drivers/staging/iio/frequency/ad9832.c
>>> --------------------------------------
>>> ERROR: Use 4 digit octal (0777) not decimal permissions
>>> #256: FILE: drivers/staging/iio/frequency/ad9832.c:256:
>>> +static IIO_DEV_ATTR_FREQ(0, 1, 0200, NULL, ad9832_write, AD9832_FREQ1HM);
>> What???  Is it complaining about the 0200?  That is octal.  Why is
>> checkpatch complaining about this?  Am I wrong?  Maybe I am misreading.
>>
>> I could investigate, but I am leaving that task to you.  It may be that
>> checkpatch has a problem and you can fix that instead.
>>
> Yes, checkpatch seems to be confused here.
It seems to make an assumption that everything starting with 
IIO_DEV_ATTR_ has the mode field at the same position. Which is not the 
case.

https://github.com/torvalds/linux/blob/master/scripts/checkpatch.pl#L798

Still a good target to get this fixed as part of a outreachy task.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Outreachy
  2023-03-15 20:09     ` Outreachy Lars-Peter Clausen
@ 2023-03-19 11:20       ` Menna Mahmoud
  0 siblings, 0 replies; 13+ messages in thread
From: Menna Mahmoud @ 2023-03-19 11:20 UTC (permalink / raw)
  To: Lars-Peter Clausen, Randy Dunlap, Dan Carpenter
  Cc: Michael.Hennerich, jic23, gregkh, linux-iio, linux-staging,
	linux-kernel, Outreachy Linux Kernel


On ١٥‏/٣‏/٢٠٢٣ ٢٢:٠٩, Lars-Peter Clausen wrote:
> On 3/15/23 12:24, Randy Dunlap wrote:
>>
>> On 3/15/23 07:03, Dan Carpenter wrote:
>>> On Wed, Mar 15, 2023 at 03:17:28PM +0200, Menna Mahmoud wrote:
>>>> Hi Mentors,
>>>>
>>>>
>>>> I am Menna, Outreachy applicant and I work on my clean-up patches.
>>>>
>>>> Is it Okay to work on this error reported by checkpatch script?
>>>>
>>>>
>>>> drivers/staging/iio/frequency/ad9832.c
>>>> --------------------------------------
>>>> ERROR: Use 4 digit octal (0777) not decimal permissions
>>>> #256: FILE: drivers/staging/iio/frequency/ad9832.c:256:
>>>> +static IIO_DEV_ATTR_FREQ(0, 1, 0200, NULL, ad9832_write, 
>>>> AD9832_FREQ1HM);
>>> What???  Is it complaining about the 0200?  That is octal. Why is
>>> checkpatch complaining about this?  Am I wrong?  Maybe I am misreading.
>>>
>>> I could investigate, but I am leaving that task to you.  It may be that
>>> checkpatch has a problem and you can fix that instead.
>>>
>> Yes, checkpatch seems to be confused here.
> It seems to make an assumption that everything starting with 
> IIO_DEV_ATTR_ has the mode field at the same position. Which is not 
> the case.
>
> https://github.com/torvalds/linux/blob/master/scripts/checkpatch.pl#L798
>
> Still a good target to get this fixed as part of a outreachy task.


I see, Thanks Randy and Lars-Peter for your help I will try check this.


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Outreachy
  2023-03-07 12:25 Outreachy Menna Mahmoud
@ 2023-03-07 16:05 ` Alison Schofield
  0 siblings, 0 replies; 13+ messages in thread
From: Alison Schofield @ 2023-03-07 16:05 UTC (permalink / raw)
  To: Menna Mahmoud; +Cc: outreachy

On Tue, Mar 07, 2023 at 02:25:29PM +0200, Menna Mahmoud wrote:
> Hi there am Menna an Outreachy applicant,right now am working on my first patch. happy to be part of this community.
> 
> Thanks,
> 
> Menna
> 
>
Hi Menna,

Welcome to the Linux Kernel Community!

Alison


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Outreachy
@ 2023-03-07 12:25 Menna Mahmoud
  2023-03-07 16:05 ` Outreachy Alison Schofield
  0 siblings, 1 reply; 13+ messages in thread
From: Menna Mahmoud @ 2023-03-07 12:25 UTC (permalink / raw)
  To: outreachy

Hi there am Menna an Outreachy applicant,right now am working on my first patch. happy to be part of this community.

Thanks,

Menna


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: outreachy
  2016-09-30 20:40 outreachy Julia Lawall
                   ` (3 preceding siblings ...)
  2016-10-01 18:18 ` outreachy Namrata A Shettar
@ 2016-10-03  9:27 ` Georgiana Chelu
  4 siblings, 0 replies; 13+ messages in thread
From: Georgiana Chelu @ 2016-10-03  9:27 UTC (permalink / raw)
  To: outreachy-kernel


[-- Attachment #1.1: Type: text/plain, Size: 540 bytes --]

Hello,

My choice is IIO driver.

Georgiana
 
On Friday, 30 September 2016 23:40:12 UTC+3, Julia Lawall wrote:
>
> Hello, 
>
> We are around the halfway mark of the application period. 
>
> So that I can get an overview of the current interests of the applicants, 
> could you send me a list of your current first and second project choices? 
> It's OK to change your mind later, but I would like to know what everyone 
> is thinking about now. 
>
> Please do this even if you don't yet have many accepted patches. 
>
> thanks, 
> julia 
>

[-- Attachment #1.2: Type: text/html, Size: 747 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: outreachy
  2016-09-30 20:40 outreachy Julia Lawall
                   ` (2 preceding siblings ...)
  2016-10-01  8:41 ` outreachy Bhumika Goyal
@ 2016-10-01 18:18 ` Namrata A Shettar
  2016-10-03  9:27 ` outreachy Georgiana Chelu
  4 siblings, 0 replies; 13+ messages in thread
From: Namrata A Shettar @ 2016-10-01 18:18 UTC (permalink / raw)
  To: outreachy-kernel


[-- Attachment #1.1: Type: text/plain, Size: 205 bytes --]


Hi,
    My first two choices  are :
 
    1) nftables ( Mentor : Pablo Neira Ayuso )

    2) Coccinelle ( Mentor : Julia Lawall )

    I haven't completely ruled out the other projects!

Thanks!

namrata

[-- Attachment #1.2: Type: text/html, Size: 283 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: outreachy
  2016-09-30 20:40 outreachy Julia Lawall
  2016-10-01  4:04 ` outreachy Rehas Sachdeva
  2016-10-01  7:51 ` outreachy keila novo
@ 2016-10-01  8:41 ` Bhumika Goyal
  2016-10-01 18:18 ` outreachy Namrata A Shettar
  2016-10-03  9:27 ` outreachy Georgiana Chelu
  4 siblings, 0 replies; 13+ messages in thread
From: Bhumika Goyal @ 2016-10-01  8:41 UTC (permalink / raw)
  To: outreachy-kernel


[-- Attachment #1.1: Type: text/plain, Size: 594 bytes --]

Hey Julia,
My top two choices are:
1. Coccinelle
2. radix tree __alloc_fd

Thanks,
Bhumika

On Saturday, October 1, 2016 at 2:10:12 AM UTC+5:30, Julia Lawall wrote:
>
> Hello, 
>
> We are around the halfway mark of the application period. 
>
> So that I can get an overview of the current interests of the applicants, 
> could you send me a list of your current first and second project choices? 
> It's OK to change your mind later, but I would like to know what everyone 
> is thinking about now. 
>
> Please do this even if you don't yet have many accepted patches. 
>
> thanks, 
> julia 
>

[-- Attachment #1.2: Type: text/html, Size: 792 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: outreachy
  2016-09-30 20:40 outreachy Julia Lawall
  2016-10-01  4:04 ` outreachy Rehas Sachdeva
@ 2016-10-01  7:51 ` keila novo
  2016-10-01  8:41 ` outreachy Bhumika Goyal
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 13+ messages in thread
From: keila novo @ 2016-10-01  7:51 UTC (permalink / raw)
  To: outreachy-kernel


[-- Attachment #1.1: Type: text/plain, Size: 624 bytes --]



El viernes, 30 de septiembre de 2016, 22:40:12 (UTC+2), Julia Lawall 
escribió:
>
> Hello, 
>
> We are around the halfway mark of the application period. 
>
> So that I can get an overview of the current interests of the applicants, 
> could you send me a list of your current first and second project choices? 
> It's OK to change your mind later, but I would like to know what everyone 
> is thinking about now. 
>
> Please do this even if you don't yet have many accepted patches. 
>
> thanks, 
> julia 
>


 Hi Julia,

My first two choices are:
1. Coccinelle
2.IIO driver.

Thanks,
Keila

[-- Attachment #1.2: Type: text/html, Size: 905 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: outreachy
  2016-09-30 20:40 outreachy Julia Lawall
@ 2016-10-01  4:04 ` Rehas Sachdeva
  2016-10-01  7:51 ` outreachy keila novo
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 13+ messages in thread
From: Rehas Sachdeva @ 2016-10-01  4:04 UTC (permalink / raw)
  To: outreachy-kernel


[-- Attachment #1.1: Type: text/plain, Size: 596 bytes --]

Hi Julia,

My first two choices are:

1. radix tree __alloc_fd.
2. Coccinelle.

Thanks
Rehas

On Saturday, October 1, 2016 at 2:10:12 AM UTC+5:30, Julia Lawall wrote:
>
> Hello, 
>
> We are around the halfway mark of the application period. 
>
> So that I can get an overview of the current interests of the applicants, 
> could you send me a list of your current first and second project choices? 
> It's OK to change your mind later, but I would like to know what everyone 
> is thinking about now. 
>
> Please do this even if you don't yet have many accepted patches. 
>
> thanks, 
> julia 
>

[-- Attachment #1.2: Type: text/html, Size: 879 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* outreachy
@ 2016-09-30 20:40 Julia Lawall
  2016-10-01  4:04 ` outreachy Rehas Sachdeva
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Julia Lawall @ 2016-09-30 20:40 UTC (permalink / raw)
  To: outreachy-kernel

Hello,

We are around the halfway mark of the application period.

So that I can get an overview of the current interests of the applicants,
could you send me a list of your current first and second project choices?
It's OK to change your mind later, but I would like to know what everyone
is thinking about now.

Please do this even if you don't yet have many accepted patches.

thanks,
julia


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-03-19 11:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-15 13:17 Outreachy Menna Mahmoud
2023-03-15 14:03 ` Outreachy Dan Carpenter
2023-03-15 19:24   ` Outreachy Randy Dunlap
2023-03-15 20:09     ` Outreachy Lars-Peter Clausen
2023-03-19 11:20       ` Outreachy Menna Mahmoud
  -- strict thread matches above, loose matches on Subject: below --
2023-03-07 12:25 Outreachy Menna Mahmoud
2023-03-07 16:05 ` Outreachy Alison Schofield
2016-09-30 20:40 outreachy Julia Lawall
2016-10-01  4:04 ` outreachy Rehas Sachdeva
2016-10-01  7:51 ` outreachy keila novo
2016-10-01  8:41 ` outreachy Bhumika Goyal
2016-10-01 18:18 ` outreachy Namrata A Shettar
2016-10-03  9:27 ` outreachy Georgiana Chelu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).