be2iscsi: patch from Randy Dunlap
Subsystems (2)
PATCH 17/19 be2iscsi: patch from Randy Dunlap
This patch add NET because be2iscsi is using sysfs_format_mac function Found and patch originally submitted by Randy Dunlap
--- drivers/scsi/be2iscsi/Kconfig | 2 +- drivers/scsi/be2iscsi/be_main.h | 1 + 2 files changed, 2 insertions(+), 1 deletions(-)
drivers/scsi/be2iscsi/Kconfig +1 -1
@@ -1,7 +1,7 @@ config BE2ISCSI tristate "ServerEngines' 10Gbps iSCSI - BladeEngine 2" depends on PCI && SCSI - select SCSI_ISCSI_ATTRS + select SCSI_ISCSI_ATTRS && NET help This driver implements the iSCSI functionality for ServerEngines'
drivers/scsi/be2iscsi/be_main.h +1 -0
@@ -23,6 +23,7 @@#include <linux/kernel.h> #include <linux/pci.h> +#include <linux/if_ether.h> #include <linux/in.h> #include <scsi/scsi.h> #include <scsi/scsi_cmnd.h>
Signature · 1 line
1.6.5.2
Quoted 15 lines · Jayamohan Kallickal
This patch add NET because be2iscsi is using
sysfs_format_macfunction Found and patch originally submitted by Randy DunlapSigned-off-by Randy Dunlap<[email protected]>Signed-off-by Jayamohan Kallickal<[email protected]>--- drivers/scsi/be2iscsi/Kconfig | 2 +- drivers/scsi/be2iscsi/be_main.h | 1 + 2 files changed, 2 insertions(+), 1 deletions(-)drivers/scsi/be2iscsi/Kconfig +0
-0
drivers/scsi/be2iscsi/Kconfig line 5
Quoted 6 lines
drivers/scsi/be2iscsi/Kconfig +1
-1@@ -1,7 +1,7 @@ config BE2ISCSI tristate "ServerEngines' 10Gbps iSCSI - BladeEngine 2" depends on PCI&& SCSI - select SCSI_ISCSI_ATTRS + select SCSI_ISCSI_ATTRS&& NET
Bah. Ok the code in the patches looks ok, but with this patch I get:
scripts/kconfig/mconf arch/x86/Kconfigdrivers/scsi/be2iscsi/Kconfig:4: invalid option
make[1]: *** [menuconfig] Error 1
make: *** [menuconfig] Error 2
when I try to do
make menuconfig
or
make oldconfig
Quoted 30 lines · Mike Christie
Quoted 15 lines · Jayamohan Kallickal
This patch add NET because be2iscsi is using
sysfs_format_macfunction Found and patch originally submitted by Randy DunlapSigned-off-by Randy Dunlap<[email protected]>Signed-off-by Jayamohan Kallickal<[email protected]>--- drivers/scsi/be2iscsi/Kconfig | 2 +- drivers/scsi/be2iscsi/be_main.h | 1 + 2 files changed, 2 insertions(+), 1 deletions(-)drivers/scsi/be2iscsi/Kconfig +0
-0drivers/scsi/be2iscsi/Kconfig line 5
Quoted 6 lines
drivers/scsi/be2iscsi/Kconfig +1
-1@@ -1,7 +1,7 @@ config BE2ISCSI tristate "ServerEngines' 10Gbps iSCSI - BladeEngine 2" depends on PCI&& SCSI - select SCSI_ISCSI_ATTRS + select SCSI_ISCSI_ATTRS&& NETBah. Ok the code in the patches looks ok, but with this patch I get:
scripts/kconfig/mconfarch/x86/Kconfigdrivers/scsi/be2iscsi/Kconfig:4: invalid option
make[1]: *** [menuconfig] Error 1
make: *** [menuconfig] Error 2
Quoted 5 lines
when I try to do
make menuconfig
or
make oldconfig
That's because the patch is wrong. The && NET shouldn't be on the select, it should be on the depends.
So, next time, I want to see a
From: A.N Author <[email protected]>
at the front of the patch, so I pick up the correct authorship, and the rest of the change log they sent in, plus comments about any fixes or changes you made, then a signoff set.
James