Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0221872a authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Fix "delayed_work_pending()" macro expansion



Nobody uses it, but it was still wrong.  Using the macro argument name
'work' meant that when we used 'work' as a member name, that would also
get replaced by the macro argument.

Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 701dfbe7
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -121,8 +121,8 @@ struct execute_work {
 * pending
 * pending
 * @work: The work item in question
 * @work: The work item in question
 */
 */
#define delayed_work_pending(work) \
#define delayed_work_pending(w) \
	test_bit(WORK_STRUCT_PENDING, &(work)->work.management)
	work_pending(&(w)->work)


/**
/**
 * work_release - Release a work item under execution
 * work_release - Release a work item under execution