tools/nolibc/types.h: fix mismatched parenthesis in minor()
PATCH v3 1/1 tools/nolibc/types.h: fix mismatched parenthesis in minor()
Fix an imbalance where opening parentheses exceed closing ones.
---
Changes in v3:
- Fix identity of sender and Signed-off-by
- Add Fixes tag
Changes in v2:
- https://lore.kernel.org/all/[email protected]/
- Formalize patch commit msg
- Add subject prefix: "tools/nolibc/types.h:"
Changes in v1:
- https://lore.kernel.org/all/[email protected]/
- Remove redundant '('
--- tools/include/nolibc/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/include/nolibc/types.h +1 -1
@@ -201,7 +201,7 @@ struct stat {/* WARNING, it only deals with the 4096 first majors and 256 first minors */ #define makedev (major, minor) ((dev_t)((((major) & 0xfff) << 8) | ((minor) & 0xff)))#define major (dev) ((unsigned int)(((dev) >> 8) & 0xfff)) -#define minor (dev) ((unsigned int)(((dev) & 0xff)) +#define minor (dev) ((unsigned int)((dev) & 0xff))#ifndef offsetof#define offsetof (TYPE ,FIELD ) ((size_t) &((TYPE *)0)->FIELD)
Signature · 1 line
2.43.0
Follow-up: [PATCH v3] tools/nolibc/types.h: fix mismatched parenthesis in minor()
Hi Thomas,
I hope this email finds you well.
Following your feedback, I submitted v3 of my patch:
https://lore.kernel.org/all/[email protected]/
I’m writing to kindly follow up on the status of this submission and check if it’s being processed or if there are any updates.
Please let me know if there’s anything I need to address to help move the review process forward.
Thank you for your time and guidance.
Best regards,
Jemmy
Thomas Weißschuh
maintainerRe: Follow-up: [PATCH v3] tools/nolibc/types.h: fix mismatched parenthesis in minor()
Hi Jemmy,
Quoted 1 line · Jemmy Wong
I hope this email finds you well.
It does, thanks! I hope this response also finds you well.
Quoted 5 lines
Following your feedback, I submitted v3 of my patch:
https://lore.kernel.org/all/[email protected]/I’m writing to kindly follow up on the status of this submission and check if it’s being processed or if there are any updates.
I picked up the patch and it is scheduled to be part of the v6.16 release.
Quoted 2 lines
Please let me know if there’s anything I need to address to help move the review process forward.
There is nothing more to do, except wait.
Quoted 1 line
Thank you for your time and guidance.
Thanks again for your contribution!
Thomas