projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
workqueue: add to_delayed_work() helper function
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
s390
/
scsi
/
zfcp_fc.c
diff --git
a/drivers/s390/scsi/zfcp_fc.c
b/drivers/s390/scsi/zfcp_fc.c
index aab8123c59664f6b51098080868342b46001c73c..e8d032b9dfbd2a54668658a88db23b7ef76e4364 100644
(file)
--- a/
drivers/s390/scsi/zfcp_fc.c
+++ b/
drivers/s390/scsi/zfcp_fc.c
@@
-94,7
+94,7
@@
static int zfcp_wka_port_get(struct zfcp_wka_port *wka_port)
static void zfcp_wka_port_offline(struct work_struct *work)
{
static void zfcp_wka_port_offline(struct work_struct *work)
{
- struct delayed_work *dw =
container_of(work, struct delayed_work,
work);
+ struct delayed_work *dw =
to_delayed_work(
work);
struct zfcp_wka_port *wka_port =
container_of(dw, struct zfcp_wka_port, work);
struct zfcp_wka_port *wka_port =
container_of(dw, struct zfcp_wka_port, work);