* [PATCH v2 00/14] staging: gpib: Adhering to Linux Code standards
@ 2025-04-16 20:32 Michael Rubin
2025-04-16 20:32 ` [PATCH v2 10/14 1/1] staging: gpib: uapi: Fix CamelCase and IBA Dup Michael Rubin
0 siblings, 1 reply; 2+ messages in thread
From: Michael Rubin @ 2025-04-16 20:32 UTC (permalink / raw)
To: gregkh, dpenkler; +Cc: linux-staging, linux-kernel, Michael Rubin
This is a remaining patch from a series of 14 to clean up the gpib driver to
adhere to Linux code style. The other 13 have been added to the tree but
this one requires a v2.
* Patch 1 - Fixing CamelCase for constants
Michael Rubin (1):
staging: gpib: uapi: Fix CamelCase and IBA Dup
drivers/staging/gpib/uapi/gpib_user.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH v2 10/14 1/1] staging: gpib: uapi: Fix CamelCase and IBA Dup
2025-04-16 20:32 [PATCH v2 00/14] staging: gpib: Adhering to Linux Code standards Michael Rubin
@ 2025-04-16 20:32 ` Michael Rubin
0 siblings, 0 replies; 2+ messages in thread
From: Michael Rubin @ 2025-04-16 20:32 UTC (permalink / raw)
To: gregkh, dpenkler; +Cc: linux-staging, linux-kernel, Michael Rubin
Resolved duplicate entry for IbaSPollBit vs IbaSpollBit.
Correct CamelCase for IBA enums
Adhere to Linux kernel coding style.
Reported by checkpatch
Signed-off-by: Michael Rubin <matchstick@neverthere.org>
---
drivers/staging/gpib/uapi/gpib_user.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/gpib/uapi/gpib_user.h b/drivers/staging/gpib/uapi/gpib_user.h
index 301083f287ad..58b996a8bd7f 100644
--- a/drivers/staging/gpib/uapi/gpib_user.h
+++ b/drivers/staging/gpib/uapi/gpib_user.h
@@ -285,7 +285,7 @@ enum ibask_option {
IBA_RSV = 0x21, /* board only */
IBA_BNA = 0x200, /* device only */
/* linux-gpib extensions */
- IBA_7BitEOS = 0x1000 /* board only. Returns 1 if board supports 7 bit eos compares*/
+ IBA_7_BIT_EOS = 0x1000 /* board only. Returns 1 if board supports 7 bit eos compares*/
};
enum ibconfig_option {
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-16 20:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-16 20:32 [PATCH v2 00/14] staging: gpib: Adhering to Linux Code standards Michael Rubin
2025-04-16 20:32 ` [PATCH v2 10/14 1/1] staging: gpib: uapi: Fix CamelCase and IBA Dup Michael Rubin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox