public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
From: Dave Penkler <dpenkler@gmail.com>
To: gregkh@linuxfoundation.org, linux-staging@lists.linux.dev,
	linux-kernel@vger.kernel.org
Cc: Dave Penkler <dpenkler@gmail.com>
Subject: [PATCH 0/4] staging: gpib: Clean up types and struct initialization
Date: Tue, 14 Jan 2025 17:53:59 +0100	[thread overview]
Message-ID: <20250114165403.16410-1-dpenkler@gmail.com> (raw)

These patches address a series of sparse warnings.

Patch 1: Add missing __iomem attribute to io address space pointers

Patch 2: Add missing __user attribute for user address space pointers
         and buffers.
	 
Patch 3: Avoid using plain integers in pointer comparison and
         initialization.
	 
Patch 4: Modernize the remaining old style struct initialization
         and declare local arrays and structs static

Dave Penkler (4):
  staging: gpib: Use __iomem attribute for PCI memory pointers
  staging: gpib: Use __user for user space pointers
  staging: gpib: Avoid plain integers as NULL pointers
  staging: gpib: Use C99 syntax and make static

 .../gpib/agilent_82350b/agilent_82350b.c      |  10 +-
 .../gpib/agilent_82350b/agilent_82350b.h      |  10 +-
 .../gpib/agilent_82357a/agilent_82357a.c      |   2 +-
 drivers/staging/gpib/cb7210/cb7210.c          |   6 +-
 drivers/staging/gpib/common/gpib_os.c         | 119 +++++++++---------
 drivers/staging/gpib/common/iblib.c           |   2 +-
 drivers/staging/gpib/eastwood/fluke_gpib.h    |   2 +-
 drivers/staging/gpib/fmh_gpib/fmh_gpib.h      |   2 +-
 drivers/staging/gpib/gpio/gpib_bitbang.c      |   8 +-
 drivers/staging/gpib/ines/ines_gpib.c         |  66 +++++-----
 .../gpib/lpvo_usb_gpib/lpvo_usb_gpib.c        |   4 +-
 drivers/staging/gpib/pc2/pc2_gpib.c           |   2 +-
 drivers/staging/gpib/tnt4882/tnt4882_gpib.c   |   8 +-
 13 files changed, 121 insertions(+), 120 deletions(-)

-- 
2.47.1


             reply	other threads:[~2025-01-14 16:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-14 16:53 Dave Penkler [this message]
2025-01-14 16:54 ` [PATCH 1/4] staging: gpib: Use __iomem attribute for io addresses Dave Penkler
2025-01-14 16:54 ` [PATCH 2/4] staging: gpib: Use __user for user space pointers Dave Penkler
2025-01-14 16:54 ` [PATCH 3/4] staging: gpib: Avoid plain integers as NULL pointers Dave Penkler
2025-01-14 16:54 ` [PATCH 4/4] staging: gpib: Use C99 syntax and make static Dave Penkler

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=20250114165403.16410-1-dpenkler@gmail.com \
    --to=dpenkler@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox