diff options
author | Ivan Vecera <ivecera@redhat.com> | 2018-10-23 16:40:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-23 11:01:53 -0700 |
commit | 5ef79151c2fbc401cf38325e9a32e77b9fc593ae (patch) | |
tree | 0ce06f0c96e255501c80b7e5c0caa11173c1f50c /drivers/net/ethernet/emulex/benet/be.h | |
parent | 89ab066d4229acd32e323f1569833302544a4186 (diff) | |
download | lwn-5ef79151c2fbc401cf38325e9a32e77b9fc593ae.tar.gz lwn-5ef79151c2fbc401cf38325e9a32e77b9fc593ae.zip |
Revert "be2net: remove desc field from be_eq_obj"
The mentioned commit needs to be reverted because we cannot pass
string allocated on stack to request_irq(). This function stores
uses this pointer for later use (e.g. /proc/interrupts) so we need
to keep this string persistently.
Fixes: d6d9704af8f4 ("be2net: remove desc field from be_eq_obj")
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be.h')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be.h b/drivers/net/ethernet/emulex/benet/be.h index 58bcee8f0a58..ce041c90adb0 100644 --- a/drivers/net/ethernet/emulex/benet/be.h +++ b/drivers/net/ethernet/emulex/benet/be.h @@ -185,6 +185,7 @@ static inline void queue_tail_inc(struct be_queue_info *q) struct be_eq_obj { struct be_queue_info q; + char desc[32]; struct be_adapter *adapter; struct napi_struct napi; |