Thread (14 messages) 14 messages, 3 authors, 2022-08-05

Re: [PATCH V3 vfio 04/11] vfio: Move vfio.c to vfio_main.c

From: Alex Williamson <hidden>
Date: 2022-08-05 19:01:30
Also in: kvm

On Fri, 5 Aug 2022 12:51:29 -0300
Jason Gunthorpe [off-list ref] wrote:
On Sun, Jul 31, 2022 at 03:54:56PM +0300, Yishai Hadas wrote:
quoted
From: Jason Gunthorpe <jgg@nvidia.com>

If a source file has the same name as a module then kbuild only supports
a single source file in the module.

Rename vfio.c to vfio_main.c so that we can have more that one .c file
in vfio.ko.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>

---
 drivers/vfio/Makefile                | 2 ++
 drivers/vfio/{vfio.c => vfio_main.c} | 0
 2 files changed, 2 insertions(+)
 rename drivers/vfio/{vfio.c => vfio_main.c} (100%)  
Alex, could you grab this patch for the current merge window?

It is a PITA to rebase across, it would be nice to have the rename in
rc1
No objection from me, I'll see if Linus picks up my current pull
request and either pull this in or send it separately next week.
Thanks,

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