Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssarosenzweig committed Sep 23, 2021
1 parent f37e5d8 commit e975024
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/apple/parser.c
Expand Up @@ -156,6 +156,7 @@ static int parse_int(struct dcp_parse_ctx *handle, s64 *value)
static int parse_bool(struct dcp_parse_ctx *handle, bool *b)
{
struct dcp_parse_tag *tag = parse_tag_of_type(handle, DCP_TYPE_BOOL);

if (IS_ERR(tag))
return PTR_ERR(tag);

Expand All @@ -165,8 +166,7 @@ static int parse_bool(struct dcp_parse_ctx *handle, bool *b)

struct iterator {
struct dcp_parse_ctx *handle;
u32 idx;
u32 len;
u32 idx, len;
};

int iterator_begin(struct dcp_parse_ctx *handle, struct iterator *it, bool dict)
Expand Down

0 comments on commit e975024

Please sign in to comment.