]> git.baikalelectronics.ru Git - kernel.git/commitdiff
powerpc/pseries/vas: Declare pseries_vas_fault_thread_fn() as static
authorCédric Le Goater <clg@kaod.org>
Thu, 19 Aug 2021 12:56:52 +0000 (14:56 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 20 Aug 2021 12:17:18 +0000 (22:17 +1000)
This fixes a compile error with W=1.

Fixes: 564649ce845c ("powerpc/pseries/vas: Setup IRQ and fault handling")
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210819125656.14498-3-clg@kaod.org
arch/powerpc/platforms/pseries/vas.c

index b5c1cf1bc64d218a15e0cebb74773a0ca94b7150..b043e3936d215f064d5d1b14a83b56bc89ca4598 100644 (file)
@@ -184,7 +184,7 @@ static int h_get_nx_fault(u32 winid, u64 buffer)
  * Note: The hypervisor forwards an interrupt for each fault request.
  *     So one fault CRB to process for each H_GET_NX_FAULT hcall.
  */
-irqreturn_t pseries_vas_fault_thread_fn(int irq, void *data)
+static irqreturn_t pseries_vas_fault_thread_fn(int irq, void *data)
 {
        struct pseries_vas_window *txwin = data;
        struct coprocessor_request_block crb;