[kbuild] [tixy:integration-linaro-vexpress64 24/644] drivers/input/evdev.c:390 evdev_release() warn: passing freed memory 'client'
TO: Arve Hjønnevåg a...@android.com CC: Colin Cross ccr...@android.com tree: https://git.linaro.org/people/tixy/kernel integration-linaro-vexpress64 head: 767452a1ba48d05ee26d47c5a5ce1f6d6589495c commit: 6e71fda4b35e9b8b4f2f009b9d2b70214ea2db3a [24/644] Input: evdev - Add ioctl to block suspend while event queue is not empty. :: branch date: 7 days ago :: commit date: 9 months ago drivers/input/evdev.c:390 evdev_release() warn: passing freed memory 'client' git remote add tixy https://git.linaro.org/people/tixy/kernel git remote update tixy git checkout 6e71fda4b35e9b8b4f2f009b9d2b70214ea2db3a vim +/client +390 drivers/input/evdev.c d0ffb9be Dmitry Torokhov 2007-04-12 374struct evdev_client *client = file-private_data; d0ffb9be Dmitry Torokhov 2007-04-12 375struct evdev *evdev = client-evdev; ^1da177e Linus Torvalds 2005-04-16 376 6addb1d6 Dmitry Torokhov 2007-08-30 377mutex_lock(evdev-mutex); 6addb1d6 Dmitry Torokhov 2007-08-30 378evdev_ungrab(evdev, client); 6addb1d6 Dmitry Torokhov 2007-08-30 379mutex_unlock(evdev-mutex); ^1da177e Linus Torvalds 2005-04-16 380 6addb1d6 Dmitry Torokhov 2007-08-30 381evdev_detach_client(evdev, client); 92eb77d0 Daniel Stone2013-10-31 382 6e71fda4 Arve Hjønnevåg 2008-10-17 383if (client-use_wake_lock) 6e71fda4 Arve Hjønnevåg 2008-10-17 384 wake_lock_destroy(client-wake_lock); 6e71fda4 Arve Hjønnevåg 2008-10-17 385 92eb77d0 Daniel Stone2013-10-31 386if (is_vmalloc_addr(client)) 92eb77d0 Daniel Stone2013-10-31 387vfree(client); 92eb77d0 Daniel Stone2013-10-31 388else d0ffb9be Dmitry Torokhov 2007-04-12 389kfree(client); 6e71fda4 Arve Hjønnevåg 2008-10-17 @390kfree(client); ^1da177e Linus Torvalds 2005-04-16 391 6addb1d6 Dmitry Torokhov 2007-08-30 392evdev_close_device(evdev); ^1da177e Linus Torvalds 2005-04-16 393 ^1da177e Linus Torvalds 2005-04-16 394return 0; ^1da177e Linus Torvalds 2005-04-16 395 } ^1da177e Linus Torvalds 2005-04-16 396 b58f7086 Henrik Rydberg 2010-06-23 397 static unsigned int evdev_compute_buffer_size(struct input_dev *dev) b58f7086 Henrik Rydberg 2010-06-23 398 { --- 0-DAY kernel test infrastructureOpen Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation ___ kbuild mailing list kbuild@lists.01.org https://lists.01.org/mailman/listinfo/kbuild
[kbuild] [tixy:integration-linaro-vexpress64 24/644] drivers/input/evdev.c:390 evdev_release() warn: passing freed memory 'client'
tree: https://git.linaro.org/people/tixy/kernel integration-linaro-vexpress64 head: 767452a1ba48d05ee26d47c5a5ce1f6d6589495c commit: 6e71fda4b35e9b8b4f2f009b9d2b70214ea2db3a [24/644] Input: evdev - Add ioctl to block suspend while event queue is not empty. drivers/input/evdev.c:390 evdev_release() warn: passing freed memory 'client' git remote add tixy https://git.linaro.org/people/tixy/kernel git remote update tixy git checkout 6e71fda4b35e9b8b4f2f009b9d2b70214ea2db3a vim +/client +390 drivers/input/evdev.c d0ffb9be Dmitry Torokhov 2007-04-12 374struct evdev_client *client = file-private_data; d0ffb9be Dmitry Torokhov 2007-04-12 375struct evdev *evdev = client-evdev; ^1da177e Linus Torvalds 2005-04-16 376 6addb1d6 Dmitry Torokhov 2007-08-30 377mutex_lock(evdev-mutex); 6addb1d6 Dmitry Torokhov 2007-08-30 378evdev_ungrab(evdev, client); 6addb1d6 Dmitry Torokhov 2007-08-30 379mutex_unlock(evdev-mutex); ^1da177e Linus Torvalds 2005-04-16 380 6addb1d6 Dmitry Torokhov 2007-08-30 381evdev_detach_client(evdev, client); 92eb77d0 Daniel Stone2013-10-31 382 6e71fda4 Arve Hjønnevåg 2008-10-17 383if (client-use_wake_lock) 6e71fda4 Arve Hjønnevåg 2008-10-17 384 wake_lock_destroy(client-wake_lock); 6e71fda4 Arve Hjønnevåg 2008-10-17 385 92eb77d0 Daniel Stone2013-10-31 386if (is_vmalloc_addr(client)) 92eb77d0 Daniel Stone2013-10-31 387vfree(client); 92eb77d0 Daniel Stone2013-10-31 388else d0ffb9be Dmitry Torokhov 2007-04-12 389kfree(client); 6e71fda4 Arve Hjønnevåg 2008-10-17 @390kfree(client); ^1da177e Linus Torvalds 2005-04-16 391 6addb1d6 Dmitry Torokhov 2007-08-30 392evdev_close_device(evdev); ^1da177e Linus Torvalds 2005-04-16 393 ^1da177e Linus Torvalds 2005-04-16 394return 0; ^1da177e Linus Torvalds 2005-04-16 395 } ^1da177e Linus Torvalds 2005-04-16 396 b58f7086 Henrik Rydberg 2010-06-23 397 static unsigned int evdev_compute_buffer_size(struct input_dev *dev) b58f7086 Henrik Rydberg 2010-06-23 398 { --- 0-DAY kernel test infrastructureOpen Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation ___ kbuild mailing list kbuild@lists.01.org https://lists.01.org/mailman/listinfo/kbuild