Unverified Commit a2f32c74 authored by Stuart Hayes's avatar Stuart Hayes Committed by Ilpo Järvinen
Browse files

platform/x86: dell_rbu: Fix lock context warning

parent d7186dfd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ static void init_packet_head(void)
	rbu_data.imagesize = 0;
}

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