[v2,10/23] nscd: Use uint8_t instead of bitfield in struct hashentry
Checks
| Context |
Check |
Description |
| redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
| linaro-tcwg-bot/tcwg_glibc_build--master-arm |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
fail
|
Test failed
|
| linaro-tcwg-bot/tcwg_glibc_check--master-arm |
fail
|
Test failed
|
Commit Message
This enables access through <concurrent_buffer.h>
---
nscd/nscd-client.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 3/20/26 4:42 PM, Florian Weimer wrote:
> This enables access through <concurrent_buffer.h>
LGTM.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
> ---
> nscd/nscd-client.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/nscd/nscd-client.h b/nscd/nscd-client.h
> index dd7421c5d1..c507933acb 100644
> --- a/nscd/nscd-client.h
> +++ b/nscd/nscd-client.h
> @@ -283,7 +283,7 @@ datahead_init_neg (struct datahead *head, nscd_ssize_t allocsize,
> /* Structure for one hash table entry. */
> struct hashentry
> {
> - request_type type:8; /* Which type of dataset. */
> + uint8_t type; /* Type of dataset; see request_type. */
> bool first; /* True if this was the original key. */
> nscd_ssize_t len; /* Length of key. */
> ref_t key; /* Pointer to key. */
@@ -283,7 +283,7 @@ datahead_init_neg (struct datahead *head, nscd_ssize_t allocsize,
/* Structure for one hash table entry. */
struct hashentry
{
- request_type type:8; /* Which type of dataset. */
+ uint8_t type; /* Type of dataset; see request_type. */
bool first; /* True if this was the original key. */
nscd_ssize_t len; /* Length of key. */
ref_t key; /* Pointer to key. */