Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] ISDN: fix BChannel_bh() call from isar_bh()

isar_bh() bh handler calls another (compatible) bh handler - BChannel_bh()
- but passes struct BCState* instead of struct work_struct*, which seems
wrong.

Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Jiri Kosina and committed by
Linus Torvalds
3899210a 1ff100d7

+1 -1
+1 -1
drivers/isdn/hisax/isar.c
··· 440 440 { 441 441 struct BCState *bcs = container_of(work, struct BCState, tqueue); 442 442 443 - BChannel_bh(bcs); 443 + BChannel_bh(work); 444 444 if (test_and_clear_bit(B_LL_NOCARRIER, &bcs->event)) 445 445 ll_deliver_faxstat(bcs, ISDN_FAX_CLASS1_NOCARR); 446 446 if (test_and_clear_bit(B_LL_CONNECT, &bcs->event))