+ bsg-fix-build-for-config_block=n.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     bsg: fix build for CONFIG_BLOCK=n
has been added to the -mm tree.  Its filename is
     bsg-fix-build-for-config_block=n.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: bsg: fix build for CONFIG_BLOCK=n
From: Paul Mundt <lethal@xxxxxxxxxxxx>

BLK_DEV_BSG was added outside of the if BLOCK check, which allows it to be
enabled when CONFIG_BLOCK=n.  This leads to many screenlengths of errors,
starting with a parse error on the request_queue_t definition.  Obviously
this wasn't intended for CONFIG_BLOCK=n usage, so just move the option back
in to the block.

Caught with a randconfig on sh.

Signed-off-by: Paul Mundt <lethal@xxxxxxxxxxxx>
Acked-by: Jens Axboe <jens.axboe@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 block/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN block/Kconfig~bsg-fix-build-for-config_block=n block/Kconfig
--- a/block/Kconfig~bsg-fix-build-for-config_block=n
+++ a/block/Kconfig
@@ -49,8 +49,6 @@ config LSF
 
 	  If unsure, say Y.
 
-endif # BLOCK
-
 config BLK_DEV_BSG
 	bool "Block layer SG support v4 (EXPERIMENTAL)"
 	depends on EXPERIMENTAL
@@ -64,4 +62,6 @@ config BLK_DEV_BSG
 	protocols (e.g. Task Management Functions and SMP in Serial
 	Attached SCSI).
 
+endif # BLOCK
+
 source block/Kconfig.iosched
_

Patches currently in -mm which might be from lethal@xxxxxxxxxxxx are

bsg-fix-build-for-config_block=n.patch
git-sh.patch
nohz-fix-nohz-x86-dyntick-idle-handling.patch
serial-sh-sci-fix-build-failure-from-kgdb-fallout.patch
during-vm-oom-condition-kill-all-threads-in-process-group.patch
clean-up-duplicate-includes-in-mm.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux