Searched hist:"8273 a0c9" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/mtd/ |
H A D | mtd.h | 8273a0c9 Fri Feb 03 06:34:14 CST 2012 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: add offset and length checks to the API function
Add verification of the offset and length to MTD API functions and verify that MTD device offset and length are within MTD device size.
The modified API functions are:
'mtd_erase()' 'mtd_point()' 'mtd_unpoint()' 'mtd_get_unmapped_area()' 'mtd_read()' 'mtd_write()' 'mtd_panic_write()' 'mtd_lock()' 'mtd_unlock()' 'mtd_is_locked()' 'mtd_block_isbad()' 'mtd_block_markbad()'
This patch also uninlines these functions and exports in mtdcore.c because they are not performance-critical and do not have to be inlined.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> 8273a0c9 Fri Feb 03 06:34:14 CST 2012 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: add offset and length checks to the API function Add verification of the offset and length to MTD API functions and verify that MTD device offset and length are within MTD device size. The modified API functions are: 'mtd_erase()' 'mtd_point()' 'mtd_unpoint()' 'mtd_get_unmapped_area()' 'mtd_read()' 'mtd_write()' 'mtd_panic_write()' 'mtd_lock()' 'mtd_unlock()' 'mtd_is_locked()' 'mtd_block_isbad()' 'mtd_block_markbad()' This patch also uninlines these functions and exports in mtdcore.c because they are not performance-critical and do not have to be inlined. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
|
/openbmc/linux/drivers/mtd/ |
H A D | mtdcore.c | 8273a0c9 Fri Feb 03 06:34:14 CST 2012 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: add offset and length checks to the API function
Add verification of the offset and length to MTD API functions and verify that MTD device offset and length are within MTD device size.
The modified API functions are:
'mtd_erase()' 'mtd_point()' 'mtd_unpoint()' 'mtd_get_unmapped_area()' 'mtd_read()' 'mtd_write()' 'mtd_panic_write()' 'mtd_lock()' 'mtd_unlock()' 'mtd_is_locked()' 'mtd_block_isbad()' 'mtd_block_markbad()'
This patch also uninlines these functions and exports in mtdcore.c because they are not performance-critical and do not have to be inlined.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> 8273a0c9 Fri Feb 03 06:34:14 CST 2012 Artem Bityutskiy <artem.bityutskiy@linux.intel.com> mtd: add offset and length checks to the API function Add verification of the offset and length to MTD API functions and verify that MTD device offset and length are within MTD device size. The modified API functions are: 'mtd_erase()' 'mtd_point()' 'mtd_unpoint()' 'mtd_get_unmapped_area()' 'mtd_read()' 'mtd_write()' 'mtd_panic_write()' 'mtd_lock()' 'mtd_unlock()' 'mtd_is_locked()' 'mtd_block_isbad()' 'mtd_block_markbad()' This patch also uninlines these functions and exports in mtdcore.c because they are not performance-critical and do not have to be inlined. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
|