Merge branch 'linux-3.0.y' of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroid-3.0.y
This commit is contained in:
commit
f1123bb686
4 changed files with 20 additions and 14 deletions
2
Makefile
2
Makefile
|
|
@ -1,6 +1,6 @@
|
|||
VERSION = 3
|
||||
PATCHLEVEL = 0
|
||||
SUBLEVEL = 79
|
||||
SUBLEVEL = 80
|
||||
EXTRAVERSION =
|
||||
NAME = Sneaky Weasel
|
||||
|
||||
|
|
|
|||
|
|
@ -1280,14 +1280,18 @@ static int __devinit abituguru_probe(struct platform_device *pdev)
|
|||
pr_info("found Abit uGuru\n");
|
||||
|
||||
/* Register sysfs hooks */
|
||||
for (i = 0; i < sysfs_attr_i; i++)
|
||||
if (device_create_file(&pdev->dev,
|
||||
&data->sysfs_attr[i].dev_attr))
|
||||
for (i = 0; i < sysfs_attr_i; i++) {
|
||||
res = device_create_file(&pdev->dev,
|
||||
&data->sysfs_attr[i].dev_attr);
|
||||
if (res)
|
||||
goto abituguru_probe_error;
|
||||
for (i = 0; i < ARRAY_SIZE(abituguru_sysfs_attr); i++)
|
||||
if (device_create_file(&pdev->dev,
|
||||
&abituguru_sysfs_attr[i].dev_attr))
|
||||
}
|
||||
for (i = 0; i < ARRAY_SIZE(abituguru_sysfs_attr); i++) {
|
||||
res = device_create_file(&pdev->dev,
|
||||
&abituguru_sysfs_attr[i].dev_attr);
|
||||
if (res)
|
||||
goto abituguru_probe_error;
|
||||
}
|
||||
|
||||
data->hwmon_dev = hwmon_device_register(&pdev->dev);
|
||||
if (!IS_ERR(data->hwmon_dev))
|
||||
|
|
|
|||
|
|
@ -248,8 +248,10 @@ int __devinit mantis_dvb_init(struct mantis_pci *mantis)
|
|||
err5:
|
||||
tasklet_kill(&mantis->tasklet);
|
||||
dvb_net_release(&mantis->dvbnet);
|
||||
dvb_unregister_frontend(mantis->fe);
|
||||
dvb_frontend_detach(mantis->fe);
|
||||
if (mantis->fe) {
|
||||
dvb_unregister_frontend(mantis->fe);
|
||||
dvb_frontend_detach(mantis->fe);
|
||||
}
|
||||
err4:
|
||||
mantis->demux.dmx.remove_frontend(&mantis->demux.dmx, &mantis->fe_mem);
|
||||
|
||||
|
|
|
|||
|
|
@ -1539,7 +1539,11 @@ static noinline int copy_to_sk(struct btrfs_root *root,
|
|||
item_off = btrfs_item_ptr_offset(leaf, i);
|
||||
item_len = btrfs_item_size_nr(leaf, i);
|
||||
|
||||
if (item_len > BTRFS_SEARCH_ARGS_BUFSIZE)
|
||||
btrfs_item_key_to_cpu(leaf, key, i);
|
||||
if (!key_in_sk(key, sk))
|
||||
continue;
|
||||
|
||||
if (sizeof(sh) + item_len > BTRFS_SEARCH_ARGS_BUFSIZE)
|
||||
item_len = 0;
|
||||
|
||||
if (sizeof(sh) + item_len + *sk_offset >
|
||||
|
|
@ -1548,10 +1552,6 @@ static noinline int copy_to_sk(struct btrfs_root *root,
|
|||
goto overflow;
|
||||
}
|
||||
|
||||
btrfs_item_key_to_cpu(leaf, key, i);
|
||||
if (!key_in_sk(key, sk))
|
||||
continue;
|
||||
|
||||
sh.objectid = key->objectid;
|
||||
sh.offset = key->offset;
|
||||
sh.type = key->type;
|
||||
|
|
|
|||
Loading…
Reference in a new issue