[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1485891116.3113.2.camel@sandisk.com>
Date: Tue, 31 Jan 2017 19:32:10 +0000
From: Bart Van Assche <Bart.VanAssche@...disk.com>
To: "linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"linux-mips@...ux-mips.org" <linux-mips@...ux-mips.org>,
"linux-nfs@...r.kernel.org" <linux-nfs@...r.kernel.org>,
"rmk+kernel@...linux.org.uk" <rmk+kernel@...linux.org.uk>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"target-devel@...r.kernel.org" <target-devel@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>
CC: "davem@...emloft.net" <davem@...emloft.net>,
"f.fainelli@...il.com" <f.fainelli@...il.com>,
"nab@...ux-iscsi.org" <nab@...ux-iscsi.org>
Subject: Re: [PATCH 4.10-rc3 09/13] iscsi: fix build errors when
linux/phy*.h is removed from net/dsa.h
On Tue, 2017-01-31 at 19:19 +0000, Russell King wrote:
> drivers/target/iscsi/iscsi_target_login.c:1135:7: error: implicit declaration of function 'try_module_get' [-Werror=implicit-function-declaration]
>
> Add linux/module.h to iscsi_target_login.c.
>
> Signed-off-by: Russell King <rmk+kernel@...linux.org.uk>
> ---
> drivers/target/iscsi/iscsi_target_login.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/target/iscsi/iscsi_target_login.c b/drivers/target/iscsi/iscsi_target_login.c
> index 450f51deb2a2..eab274d17b5c 100644
> --- a/drivers/target/iscsi/iscsi_target_login.c
> +++ b/drivers/target/iscsi/iscsi_target_login.c
> @@ -17,6 +17,7 @@
> ******************************************************************************/
>
> #include <crypto/hash.h>
> +#include <linux/module.h>
> #include <linux/string.h>
> #include <linux/kthread.h>
> #include <linux/idr.h>
Reviewed-by: Bart Van Assche <bart.vanassche@...disk.com>
Powered by blists - more mailing lists