Re: [PATCH 5/8] PCI / Intel IOMMU: Use syscore_ops instead of sysdevclass and sysdev

From: Tony Luck
Date: Thu Jun 02 2011 - 13:30:47 EST


On Sat, Mar 12, 2011 at 1:18 PM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> -static int __init init_iommu_sysfs(void)
> -{
> -       return 0;
> -}
> +static inline int init_iommu_pm_ops(void) { }
>  #endif /* CONFIG_PM */

drivers/pci/intel-iommu.c:3391: warning: no return statement in
function returning non-void

s/static inline int/static inline void/

Reported-by: Tony Luck <tony.luck@xxxxxxxxx>

-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/