Eugenio Pérez a89b34be5e util: Make some iova_tree parameters const
As qemu guidelines:
Unless a pointer is used to modify the pointed-to storage, give it the
"const" attribute.

In the particular case of iova_tree_find it allows to enforce what is
requested by its comment, since the compiler would shout in case of
modifying or freeing the const-qualified returned pointer.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211013182713.888753-2-eperezma@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-11-02 15:57:21 +01:00
..
2021-07-21 13:47:50 +01:00
2021-07-06 08:33:51 +02:00
2021-07-09 18:20:27 +02:00
2020-12-10 17:16:44 +01:00
2021-06-13 17:42:40 -07:00
2021-07-09 18:20:27 +02:00
2021-04-30 12:27:47 +02:00
2021-04-01 15:27:44 +04:00