From: Michael Rubin <matchstick@neverthere.org>
To: gregkh@linuxfoundation.org, dpenkler@gmail.com, dan.carpenter@linaro.org
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
Michael Rubin <matchstick@neverthere.org>
Subject: [PATCH v2 01/14] staging: gpib: gpib_ioctl: u8 over uint8_t
Date: Thu, 17 Apr 2025 00:45:20 +0000 [thread overview]
Message-ID: <20250417004533.86765-2-matchstick@neverthere.org> (raw)
In-Reply-To: <20250417004533.86765-1-matchstick@neverthere.org>
Reported by checkpatch.pl.
CHECK: Prefer kernel type 'u8' over 'uint8_t'
Signed-off-by: Michael Rubin <matchstick@neverthere.org>
---
drivers/staging/gpib/uapi/gpib_ioctl.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/gpib/uapi/gpib_ioctl.h b/drivers/staging/gpib/uapi/gpib_ioctl.h
index e903ec1fe274..2d2a268d8573 100644
--- a/drivers/staging/gpib/uapi/gpib_ioctl.h
+++ b/drivers/staging/gpib/uapi/gpib_ioctl.h
@@ -39,7 +39,7 @@ struct gpib_close_dev_ioctl {
struct gpib_serial_poll_ioctl {
unsigned int pad;
int sad;
- uint8_t status_byte;
+ __u8 status_byte;
};
struct gpib_eos_ioctl {
@@ -87,7 +87,7 @@ struct gpib_select_pci_ioctl {
};
struct gpib_ppoll_config_ioctl {
- uint8_t config;
+ __u8 config;
unsigned set_ist : 1;
unsigned clear_ist : 1;
};
@@ -109,7 +109,7 @@ struct gpib_select_device_path_ioctl {
// update status byte and request service
struct gpib_request_service2 {
- uint8_t status_byte;
+ __u8 status_byte;
int new_reason_for_service;
};
@@ -121,7 +121,7 @@ enum gpib_ioctl {
IBOPENDEV = _IOWR(GPIB_CODE, 3, struct gpib_open_dev_ioctl),
IBCLOSEDEV = _IOW(GPIB_CODE, 4, struct gpib_close_dev_ioctl),
IBWAIT = _IOWR(GPIB_CODE, 5, struct gpib_wait_ioctl),
- IBRPP = _IOWR(GPIB_CODE, 6, uint8_t),
+ IBRPP = _IOWR(GPIB_CODE, 6, __u8),
IBSIC = _IOW(GPIB_CODE, 9, unsigned int),
IBSRE = _IOW(GPIB_CODE, 10, int),
@@ -133,7 +133,7 @@ enum gpib_ioctl {
IBTMO = _IOW(GPIB_CODE, 17, unsigned int),
IBRSP = _IOWR(GPIB_CODE, 18, struct gpib_serial_poll_ioctl),
IBEOS = _IOW(GPIB_CODE, 19, struct gpib_eos_ioctl),
- IBRSV = _IOW(GPIB_CODE, 20, uint8_t),
+ IBRSV = _IOW(GPIB_CODE, 20, __u8),
CFCBASE = _IOW(GPIB_CODE, 21, uint64_t),
CFCIRQ = _IOW(GPIB_CODE, 22, unsigned int),
CFCDMA = _IOW(GPIB_CODE, 23, unsigned int),
--
2.43.0
next prev parent reply other threads:[~2025-04-17 0:45 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-17 0:45 [PATCH v2 00/14] staging: gpib: u8 and u64 over uint8_t and uint64_t Michael Rubin
2025-04-17 0:45 ` Michael Rubin [this message]
2025-04-17 0:45 ` [PATCH v2 02/14] staging: gpib: gpib_user: u8 over uint8_t Michael Rubin
2025-04-17 0:45 ` [PATCH v2 03/14] staging: gpib: agilent_82350b: " Michael Rubin
2025-04-17 0:45 ` [PATCH v2 04/14] staging: gpib: agilent_82357a: " Michael Rubin
2025-04-17 0:45 ` [PATCH v2 05/14] staging: gpib: cec: " Michael Rubin
2025-04-17 0:45 ` [PATCH v2 06/14] staging: gpib: gpib_os: " Michael Rubin
2025-04-17 0:45 ` [PATCH v2 07/14] staging: gpib: gpib_bitbang: " Michael Rubin
2025-04-17 0:45 ` [PATCH v2 08/14] staging: gpib: hp_82335: " Michael Rubin
2025-04-17 0:45 ` [PATCH v2 09/14] staging: gpib: hp_82341: " Michael Rubin
2025-04-17 0:45 ` [PATCH v2 10/14] staging: gpib: ni_usb: " Michael Rubin
2025-04-17 0:45 ` [PATCH v2 11/14] staging: gpib: pc2: " Michael Rubin
2025-04-17 0:45 ` [PATCH v2 12/14] staging: gpib: gpib_ioctl: u64 over uint64_t Michael Rubin
2025-04-17 0:45 ` [PATCH v2 13/14] staging: gpib: lpvo_usb_gpib: u8 over uint8_t Michael Rubin
2025-04-17 0:45 ` [PATCH v2 14/14] staging: gpib: tnt4882: " Michael Rubin
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=20250417004533.86765-2-matchstick@neverthere.org \
--to=matchstick@neverthere.org \
--cc=dan.carpenter@linaro.org \
--cc=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