Skip to content

Commit

Permalink
style: remove unnecessary spaces in sa.h
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Peng Liu <[email protected]>
  • Loading branch information
LittleNewton committed Jan 15, 2025
1 parent fe44c5a commit 89ceb2c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/sys/sa.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ typedef uint16_t sa_attr_type_t;
* Attribute to register support for.
*/
typedef struct sa_attr_reg {
const char *sa_name; /* attribute name */
uint16_t sa_length;
const char *sa_name; /* attribute name */
uint16_t sa_length;
sa_bswap_type_t sa_byteswap; /* bswap function enum */
sa_attr_type_t sa_attr; /* filled in during registration */
sa_attr_type_t sa_attr; /* filled in during registration */
} sa_attr_reg_t;


Expand All @@ -77,7 +77,7 @@ typedef struct sa_bulk_attr {
uint16_t sa_length;
sa_attr_type_t sa_attr;
/* the following are private to the sa framework */
void *sa_addr;
void *sa_addr;
uint16_t sa_buftype;
uint16_t sa_size;
} sa_bulk_attr_t;
Expand Down

0 comments on commit 89ceb2c

Please sign in to comment.