Linux IIO development
 help / color / mirror / Atom feed
From: Quentin Swain <dudebrobro179@gmail.com>
To: jic23@kernel.org
Cc: linux-iio@vger.kernel.org, devel@driverdev.osuosl.org,
	apw@canonical.com, joe@perches.com
Subject: Fix permissions warning from check-patch for tsl2x7x
Date: Sun, 30 Apr 2017 19:16:57 -0400	[thread overview]
Message-ID: <20170430231702.377-1-dudebrobro179@gmail.com> (raw)

Replace the use of symbolic permissions macros, S_IRUGO and S_IWUSR,
with octal permissons to resolve errors reported by checkpatch.pl.
checkpatch.pl still reports errors for use of decimal permissions in a
handful of cases where the macros were replaced with the octal in
ad9834 and ade7753. It seemed like those reports may be false positives
since this happens for a fraction of the changes that were made in those
files.

Thanks,
Quentin


             reply	other threads:[~2017-04-30 23:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-30 23:16 Quentin Swain [this message]
2017-04-30 23:16 ` [PATCH 1/5] iio: ad9834 convert symbolic permissions to octal Quentin Swain
2017-04-30 23:59   ` Jonathan Cameron
2017-04-30 23:16 ` [PATCH 2/5] iio: ade7753 Convert: " Quentin Swain
2017-05-01  0:02   ` Jonathan Cameron
2017-04-30 23:17 ` [PATCH 3/5] iio: ade7754: Convert " Quentin Swain
2017-05-01  0:05   ` Jonathan Cameron
2017-04-30 23:17 ` [PATCH 4/5] iio: ade7758: " Quentin Swain
2017-05-01  0:06   ` Jonathan Cameron
2017-04-30 23:17 ` [PATCH 5/5] iio: ade7854: " Quentin Swain
2017-05-01  0:09   ` Jonathan Cameron
2017-05-01  0:01 ` Fix permissions warning from check-patch for tsl2x7x Jonathan Cameron
  -- strict thread matches above, loose matches on Subject: below --
2017-04-28 23:03 Quentin Swain

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=20170430231702.377-1-dudebrobro179@gmail.com \
    --to=dudebrobro179@gmail.com \
    --cc=apw@canonical.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=jic23@kernel.org \
    --cc=joe@perches.com \
    --cc=linux-iio@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox