Use devm_request_irq to simplify error handling path, when probe smmu device. Also devm_{request|free}_irq when init or destroy domain context. Signed-off-by: Peng Fan <van.free...@gmail.com> Cc: Will Deacon <will.dea...@arm.com> Cc: Robin Murphy <robin.mur...@arm.com> --- ...
DEVM Dictionary, Encyclopedia and Thesaurus - The Free Dictionary13,625,849,028visits served TheFreeDictionary Google ? Keyboard Word / Article Starts with Ends with Text EnglishEspañolDeutschFrançaisItalianoالعربية中文简体PolskiPortuguêsNederlandsNorskΕλληνικήРусск...
include/linux/device.h 216 static inline void *devm_kzalloc(struct device *dev, size_t size, gfp_t gfp) 217 { 218 return devm_kmalloc(dev, size, gfp | __GFP_ZERO); 219 } 1 2 3 4 5 63.void devm_kfree(struct device *dev, const void *p);...
[ 4.210059] WARNING: CPU: 12 PID: 874 at drivers/base/devres.c:1055 devm_kfree+0x3b/0x50 [ 4.210094] RIP: 0010:devm_kfree+0x3b/0x50 [ 4.210103] Call Trace: [ 4.210105] mt7921_init_acpi_sar+0x97/0x1f0 [mt7921_common] [ 4.210109] mt7921_register_device+0x31f/0x530 [mt7921_co...
>> +static void devm_iio_device_release(struct device *dev, void *res) >> +{ >> + iio_device_free(*(struct iio_dev **)res); >> +} >> + >> +static int devm_iio_device_match(struct device *dev, void *res, void *data) ...
小狐狸16361041关注