mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-02 18:17:50 -04:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial updates from Jiri Kosina:
"Trivial stuff from trivial tree that can be trivially summed up as:
- treewide drop of spurious unlikely() before IS_ERR() from Viresh
Kumar
- cosmetic fixes (that don't really affect basic functionality of the
driver) for pktcdvd and bcache, from Julia Lawall and Petr Mladek
- various comment / printk fixes and updates all over the place"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial:
bcache: Really show state of work pending bit
hwmon: applesmc: fix comment typos
Kconfig: remove comment about scsi_wait_scan module
class_find_device: fix reference to argument "match"
debugfs: document that debugfs_remove*() accepts NULL and error values
net: Drop unlikely before IS_ERR(_OR_NULL)
mm: Drop unlikely before IS_ERR(_OR_NULL)
fs: Drop unlikely before IS_ERR(_OR_NULL)
drivers: net: Drop unlikely before IS_ERR(_OR_NULL)
drivers: misc: Drop unlikely before IS_ERR(_OR_NULL)
UBI: Update comments to reflect UBI_METAONLY flag
pktcdvd: drop null test before destroy functions
This commit is contained in:
@@ -112,8 +112,8 @@ static int gluebi_get_device(struct mtd_info *mtd)
|
||||
* The MTD device is already referenced and this is just one
|
||||
* more reference. MTD allows many users to open the same
|
||||
* volume simultaneously and do not distinguish between
|
||||
* readers/writers/exclusive openers as UBI does. So we do not
|
||||
* open the UBI volume again - just increase the reference
|
||||
* readers/writers/exclusive/meta openers as UBI does. So we do
|
||||
* not open the UBI volume again - just increase the reference
|
||||
* counter and return.
|
||||
*/
|
||||
gluebi->refcnt += 1;
|
||||
|
||||
Reference in New Issue
Block a user