lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 20 Sep 2010 14:58:17 +1000
From:	Stephen Rothwell <sfr@...b.auug.org.au>
To:	Arnd Bergmann <arnd@...db.de>
Cc:	linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
	Olof Johansson <olof@...om.net>, Chris Ball <cjb@...top.org>
Subject: linux-next: manual merge of the bkl-trivial tree with the mmc tree

Hi Arnd,

Today's linux-next merge of the bkl-trivial tree got a conflict in
drivers/mmc/card/block.c between commit
28280d210bacf6788a5e4b12c5a9430bd50860b4 ("mmc: make number of mmcblk
minors configurable") from the mmc tree and commit
5778067afcfd8b718ffc3744c25fdd194fc886a1 ("block: autoconvert trivial BKL
users to private mutex") from the bkl-trivial tree.

I fixed it up (see below) and can carry the fix as necessary.
-- 
Cheers,
Stephen Rothwell                    sfr@...b.auug.org.au

diff --cc drivers/mmc/card/block.c
index 5568044,00073b7..0000000
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@@ -44,26 -43,15 +43,27 @@@
  #include "queue.h"
  
  MODULE_ALIAS("mmc:block");
 +#ifdef MODULE_PARAM_PREFIX
 +#undef MODULE_PARAM_PREFIX
 +#endif
 +#define MODULE_PARAM_PREFIX "mmcblk."
 +
 +
 +/*
 + * The defaults come from config options but can be overriden by module
 + * or bootarg options.
 + */
 +static int perdev_minors = CONFIG_MMC_BLOCK_MINORS;
  
  /*
 - * max 8 partitions per card
 + * We've only got one major, so number of mmcblk devices is
 + * limited to 256 / number of minors per device.
   */
 -#define MMC_SHIFT	3
 -#define MMC_NUM_MINORS	(256 >> MMC_SHIFT)
 +static int max_devices;
  
+ static DEFINE_MUTEX(block_mutex);
 -static DECLARE_BITMAP(dev_use, MMC_NUM_MINORS);
 +/* 256 minors, so at most 256 separate devices */
 +static DECLARE_BITMAP(dev_use, 256);
  
  /*
   * There is one mmc_blk_data per slot.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ