• K
    target/iscsi: Convert timers to use timer_setup() · f7c9564a
    Kees Cook 提交于
    In preparation for unconditionally passing the struct timer_list pointer to
    all timer callbacks, switch to using the new timer_setup() and from_timer()
    to pass the timer pointer explicitly. Includes a fix for correcting an
    on-stack timer usage.
    
    Cc: "Nicholas A. Bellinger" <nab@linux-iscsi.org>
    Cc: Bart Van Assche <bart.vanassche@sandisk.com>
    Cc: Jiang Yi <jiangyilism@gmail.com>
    Cc: Varun Prakash <varun@chelsio.com>
    Cc: linux-scsi@vger.kernel.org
    Cc: target-devel@vger.kernel.org
    Reviewed-and-Tested-by: NBart Van Assche <Bart.VanAssche@wdc.com>
    Signed-off-by: NKees Cook <keescook@chromium.org>
    f7c9564a
iscsi_target_erl0.c 26.8 KB