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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20100915134220.743bd584.sfr@canb.auug.org.au>
Date:	Wed, 15 Sep 2010 13:42:20 +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,
	"Uwe Kleine-König" 
	<u.kleine-koenig@...gutronix.de>, Greg KH <greg@...ah.com>,
	Jan Blunck <jblunck@...radead.org>
Subject: linux-next: manual merge of the bkl-vfs tree with the usb tree

Hi Arnd,

Today's linux-next merge of the bkl-vfs tree got a conflict in
drivers/usb/gadget/inode.c between commit
e77e6e934520456e9e47f51847eb9dffa3dca9e5 ("usb gadget: don't save bind
callback in struct usb_gadget_driver") from the usb tree and commit
5cfc17f9036a43727c498ababa0ae79148bb4fb5 ("BKL: Explicitly add BKL around
get_sb/fill_super") from the bkl-vfs tree.

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

diff --cc drivers/usb/gadget/inode.c
index e2e8eda,82a88d3..0000000
--- a/drivers/usb/gadget/inode.c
+++ b/drivers/usb/gadget/inode.c
@@@ -2041,13 -2043,19 +2041,19 @@@ gadgetfs_fill_super (struct super_bloc
  	struct dentry	*d;
  	struct dev_data	*dev;
  
- 	if (the_device)
+ 	lock_kernel();
+ 
+ 	if (the_device) {
+ 		unlock_kernel();
  		return -ESRCH;
+ 	}
  
  	/* fake probe to determine $CHIP */
 -	(void) usb_gadget_register_driver (&probe_driver);
 +	(void) usb_gadget_probe_driver(&probe_driver, gadgetfs_probe);
- 	if (!CHIP)
+ 	if (!CHIP) {
+ 		unlock_kernel();
  		return -ENODEV;
+ 	}
  
  	/* superblock */
  	sb->s_blocksize = PAGE_CACHE_SIZE;
--
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