Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1591516

Re: [PATCH] drivers: net: ethernet: remove incorrect __exit markups

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] drivers: net: ethernet: remove incorrect __exit markups
Date 2017-03-02 23:40 +0100
Message-ID <tgHy9-kV-1@gated-at.bofh.it> (permalink)
References <tgphT-4pv-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: Wed, 1 Mar 2017 17:24:47 -0800

> Even if bus is not hot-pluggable, devices can be unbound from the
> driver via sysfs, so we should not be using __exit annotations on
> remove() methods. The only exception is drivers registered with
> platform_driver_probe() which specifically disables sysfs bind/unbind
> attributes.
> 
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

Applied, thank you.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] drivers: net: ethernet: remove incorrect __exit markups Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-03-02 04:10 +0100
  Re: [PATCH] drivers: net: ethernet: remove incorrect __exit markups David Miller <davem@davemloft.net> - 2017-03-02 23:40 +0100

csiph-web