On Tue, Sep 15, 2020 at 02:55:08PM +0000, David Laight wrote: > > This is the only direct call of rw_copy_check_uvector(). > Removing it lets rw_copy_check_uvector() be inlined into > import_iovec() and the horrid calling conventions fixed. This looks sensible, but as-is will create a warning when actually this code. This is the variant I picked up as a prep patch for the compat iovec handling, which passes the relevant LTP tests: http://git.infradead.org/users/hch/misc.git/commitdiff/9e3cf5d0f13572310354bf6c62e1feb9fb232266