Skip to content

Commit a2f32c7

Browse files
Stuart Hayesij-intel
authored andcommitted
platform/x86: dell_rbu: Fix lock context warning
Fix a sparse lock context warning. Signed-off-by: Stuart Hayes <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent d7186df commit a2f32c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/x86/dell/dell_rbu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ static void init_packet_head(void)
9191
rbu_data.imagesize = 0;
9292
}
9393

94-
static int create_packet(void *data, size_t length)
94+
static int create_packet(void *data, size_t length) __must_hold(&rbu_data.lock)
9595
{
9696
struct packet_data *newpacket;
9797
int ordernum = 0;

0 commit comments

Comments
 (0)