From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leon Romanovsky Subject: Re: [PATCH] IB/mlx5: fix VFs callback function prototypes Date: Wed, 23 Mar 2016 12:59:11 +0200 Message-ID: <20160323105911.GQ25216@leon.nu> References: <1458729502-3155671-1-git-send-email-arnd@arndb.de> Reply-To: leon-2ukJVAZIZ/Y@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1458729502-3155671-1-git-send-email-arnd-r2nGTMty4D4@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Arnd Bergmann Cc: Doug Ledford , Matan Barak , Leon Romanovsky , Sean Hefty , Hal Rosenstock , Sagi Grimberg , "David S. Miller" , Haggai Eran , "majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org" , Saeed Mahameed , Maor Gottlieb , Haggai Abramovsky , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org On Wed, Mar 23, 2016 at 11:37:45AM +0100, Arnd Bergmann wrote: > The previous patch that added a couple of callback functions put > the declarations inside of an #ifdef CONFIG_INFINIBAND_ON_DEMAND_PAGING, > which causes the build to fail if that option is disabled: > > drivers/infiniband/hw/mlx5/main.c: In function 'mlx5_ib_add': > drivers/infiniband/hw/mlx5/main.c:2358:31: error: 'mlx5_ib_get_vf_config' undeclared (first use in this function) > > This moves the four declarations below the #ifdef section so they > are always available. > > Signed-off-by: Arnd Bergmann > Fixes: eff901d30e6c ("IB/mlx5: Implement callbacks for manipulating VFs") Thanks, Reviewed-by: Leon Romanovsky -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html