Thread (7 messages) 7 messages, 3 authors, 2021-09-01

Re: [PATCH v2] xen/pcifront: Removed unnecessary __ref annotation

flat view

From: Juergen Gross <jgross@suse.com>
Date: 2021-08-30 16:12:39
Also in: lkml, xen-devel

On 30.08.21 19:53, Sergio Miguéns Iglesias wrote:
An unnecessary "__ref" annotation was removed from the
"drivers/pci/xen_pcifront.c" file. The function where the annotation
was used was "pcifront_backend_changed()", which does not call any
functions annotated as "__*init" nor "__*exit". This makes "__ref"
unnecessary since this annotation is used to make the compiler ignore
section miss-matches when they are not happening here in the first
place.

In addition to the aforementioned change, some code style issues were
fixed in the same file.

Signed-off-by: Sergio Miguéns Iglesias <redacted>
Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help