Skip to content

Commit aaeb7fa

Browse files
authored
style: remove unnecessary spaces in sa.h
Removed three unnecessary spaces in the definition of the sa_attr_reg_t structure to improve code style consistency and adhere to OpenZFS coding standards. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Rob Norris <[email protected]> Signed-off-by: Peng Liu <[email protected]> Closes #16955
1 parent fe44c5a commit aaeb7fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/sys/sa.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ typedef uint16_t sa_attr_type_t;
4949
* Attribute to register support for.
5050
*/
5151
typedef struct sa_attr_reg {
52-
const char *sa_name; /* attribute name */
53-
uint16_t sa_length;
52+
const char *sa_name; /* attribute name */
53+
uint16_t sa_length;
5454
sa_bswap_type_t sa_byteswap; /* bswap function enum */
55-
sa_attr_type_t sa_attr; /* filled in during registration */
55+
sa_attr_type_t sa_attr; /* filled in during registration */
5656
} sa_attr_reg_t;
5757

5858

@@ -77,7 +77,7 @@ typedef struct sa_bulk_attr {
7777
uint16_t sa_length;
7878
sa_attr_type_t sa_attr;
7979
/* the following are private to the sa framework */
80-
void *sa_addr;
80+
void *sa_addr;
8181
uint16_t sa_buftype;
8282
uint16_t sa_size;
8383
} sa_bulk_attr_t;

0 commit comments

Comments
 (0)