search for: drv_data

Displaying 5 results from an estimated 5 matches for "drv_data".

Did you mean: dev_data
2010 Jul 06
0
[PATCH] x86/cpufreq: check array index before use
...ufreq.c 2010-07-06 16:11:48.000000000 +0200 @@ -210,9 +210,11 @@ static u32 get_cur_val(cpumask_t mask) if (!cpu_isset(cpu, mask)) cpu = first_cpu(mask); - policy = cpufreq_cpu_policy[cpu]; + if (cpu >= NR_CPUS) + return 0; - if (cpu >= NR_CPUS || !policy || !drv_data[policy->cpu]) + policy = cpufreq_cpu_policy[cpu]; + if (!policy || !drv_data[policy->cpu]) return 0; switch (drv_data[policy->cpu]->cpu_feature) { _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://l...
2017 Mar 26
2
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
...ount| Number of blocks covered by APM | | Often some x86-harmless dummy. E.g. 0x9090 = 37008 | | or 0xeb02ffff = 3,942,842,367 8 - 9 | dev_type | obscure: "device type" 10 - 11 | dev_id | obscure: "device id" 12 - 15 | drv_data | obscure: "driver data" 16 - 17 | drv_count | obscure: "driver descriptor count" 18 - 81 | drv_map | obscure: "driver descriptor table" | | with 8 entries of 16 bytes each 82 - 511 | reserved | ---------- | ---------- | -...
2017 Mar 26
0
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
...vered by APM > | | Often some x86-harmless dummy. E.g. 0x9090 = 37008 > | | or 0xeb02ffff = 3,942,842,367 > 8 - 9 | dev_type | obscure: "device type" > 10 - 11 | dev_id | obscure: "device id" > 12 - 15 | drv_data | obscure: "driver data" > 16 - 17 | drv_count | obscure: "driver descriptor count" > 18 - 81 | drv_map | obscure: "driver descriptor table" > | | with 8 entries of 16 bytes each > 82 - 511 | reserved | > --...
2017 Mar 26
2
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
Hi, Gene Cumm wrote: > it seems the stack format got > set, changed, then mostly reverted back, with this code being the last > piece missing from 2009. The commit to isohdpfx.S of 2009-05-31 looks incomplete. The sequence of the stack pointers was swapped, but the sequence of stack pushes was not.
2011 Oct 20
0
[PATCH 07/12] cpufreq: allocate CPU masks dynamically
...(cpus_empty(policy->cpus)) { + if (cpumask_empty(policy->cpus)) { cpufreq_driver->exit(policy); + free_cpumask_var(policy->cpus); xfree(policy); } /* for the last cpu of the domain, clean room */ /* It''s safe here to free freq_table, drv_data and policy */ - if (cpus_empty(cpufreq_dom->map)) { + if (cpumask_empty(cpufreq_dom->map)) { list_del(&cpufreq_dom->node); + free_cpumask_var(cpufreq_dom->map); xfree(cpufreq_dom); } --- 2011-09-20.orig/xen/drivers/cpufreq/cpufreq_ondemand.c 201...