All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ira Weiny <ira.weiny@intel.com>
To: Menna Mahmoud <eng.mennamahmoud.mm@gmail.com>,
	Outreachy Linux Kernel <outreachy@lists.linux.dev>
Subject: Re: new patch
Date: Wed, 15 Mar 2023 11:37:49 -0700	[thread overview]
Message-ID: <6412107d9fcab_253a1e294b3@iweiny-mobl.notmuch> (raw)
In-Reply-To: <1cf83508-9fea-05c2-f197-16fdf3edf030@gmail.com>

Menna Mahmoud wrote:
> Hi Mentors,
> 

Hey Menna, welcome to Outreachy!

First I'll make a small comment on your email subject.  Remember that when
posting to a mailing list the folks getting the emails may be looking at
100's or even 1000's of emails on the list each day.

A subject of 'new patch' is pretty generic and is unlikely to result in
any interest in reading your post.

With that in mind lets look through the below errors.

> 
> 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

This error is trying to flag a mode permission which is not in Octal form.
Are you familiar with decimal vs octal vs hex notations?

> #256: FILE: drivers/staging/iio/frequency/ad9832.c:256:
> +static IIO_DEV_ATTR_FREQ(0, 1, 0200, NULL, ad9832_write, AD9832_FREQ1HM);

What do you think is wrong with this line?

Hint: I'm not sure I see the problem.

So your email should have had a subject which reflects this question.
Perhaps a subject like:

"Is this a valid checkpatch error?"

FWIW I'm concerned this is some corner case checkpatch bug.  But I'm not
seeing the issue in checkpatch (My perl is very rusty).

Do you see the error checkpatch is flagging?  Or do you think this may be
a bug in checkpatch?

Ira

  reply	other threads:[~2023-03-15 18:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-15  9:18 new patch Menna Mahmoud
2023-03-15 18:37 ` Ira Weiny [this message]
2023-03-15 19:29   ` Menna Mahmoud
2023-03-16  0:24     ` Ira Weiny
2023-03-19 11:24       ` Menna Mahmoud
  -- strict thread matches above, loose matches on Subject: below --
2007-05-11 16:03 [PATCH] grub-install for EFI Robert Millan
2007-05-11 16:11 ` Robert Millan
2007-05-11 16:21   ` Robert Millan
2007-05-15 18:23     ` new patch Robert Millan
2005-08-04 14:04 New patch Vladimir Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6412107d9fcab_253a1e294b3@iweiny-mobl.notmuch \
    --to=ira.weiny@intel.com \
    --cc=eng.mennamahmoud.mm@gmail.com \
    --cc=outreachy@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.