Content-Type: multipart/mixed; boundary="===============6298706144884465480==" MIME-Version: 1.0 From: Julia Lawall To: kbuild-all@lists.01.org Subject: [sashal-linux-stable:queue-4.9 58/81] drivers/media/radio/si470x/radio-si470x-i2c.c:463:25-30: ERROR: reference preceded by free on line 461 (fwd) Date: Sun, 22 Dec 2019 10:51:17 +0100 Message-ID: List-Id: --===============6298706144884465480== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable It looks like the kfree of radio should be moved later. julia ---------- Forwarded message ---------- Date: Sun, 22 Dec 2019 17:05:41 +0800 From: kbuild test robot To: kbuild(a)lists.01.org Cc: Julia Lawall Subject: [sashal-linux-stable:queue-4.9 58/81] drivers/media/radio/si470x/radio-si470x-i2c.c:463:25-30: ERROR: referen= ce preceded by free on line 461 CC: kbuild-all(a)lists.01.org BCC: philip.li(a)intel.com TO: Alexander Levin tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable= .git queue-4.9 head: c1606b16ad2ef060272ddc88b3727c23e09ea618 commit: d4250aec774add26976e42952fb6f58e59289d1a [58/81] media: si470x-i2c:= add missed operations in remove :::::: branch date: 8 hours ago :::::: commit date: 8 hours ago If you fix the issue, kindly add following tag Reported-by: kbuild test robot Reported-by: Julia Lawall >> drivers/media/radio/si470x/radio-si470x-i2c.c:463:25-30: ERROR: referenc= e preceded by free on line 461 # https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c= ommit/?id=3Dd4250aec774add26976e42952fb6f58e59289d1a git remote add sashal-linux-stable https://git.kernel.org/pub/scm/linux/ker= nel/git/sashal/linux-stable.git git remote update sashal-linux-stable git checkout d4250aec774add26976e42952fb6f58e59289d1a vim +463 drivers/media/radio/si470x/radio-si470x-i2c.c cc35bbddfe10f7 Joonyoung Shim 2009-08-09 450 9dcb79c2eedb5b Tobias Lorenz 2009-08-10 451 9dcb79c2eedb5b Tobias Lorenz 2009-08-10 452 /* 9dcb79c2eedb5b Tobias Lorenz 2009-08-10 453 * si470x_i2c_remove - r= emove the device 9dcb79c2eedb5b Tobias Lorenz 2009-08-10 454 */ 4c62e9764ab403 Greg Kroah-Hartman 2012-12-21 455 static int si470x_i2c_re= move(struct i2c_client *client) cc35bbddfe10f7 Joonyoung Shim 2009-08-09 456 { cc35bbddfe10f7 Joonyoung Shim 2009-08-09 457 struct si470x_device *r= adio =3D i2c_get_clientdata(client); cc35bbddfe10f7 Joonyoung Shim 2009-08-09 458 fe2137dd4e6e4b Joonyoung Shim 2009-12-10 459 free_irq(client->irq, r= adio); 4967d53dbbcebf Hans Verkuil 2012-05-04 460 video_unregister_device= (&radio->videodev); cc35bbddfe10f7 Joonyoung Shim 2009-08-09 @461 kfree(radio); cc35bbddfe10f7 Joonyoung Shim 2009-08-09 462 d4250aec774add Chuhong Yuan 2019-11-10 @463 v4l2_ctrl_handler_free(= &radio->hdl); d4250aec774add Chuhong Yuan 2019-11-10 464 v4l2_device_unregister(= &radio->v4l2_dev); cc35bbddfe10f7 Joonyoung Shim 2009-08-09 465 return 0; cc35bbddfe10f7 Joonyoung Shim 2009-08-09 466 } cc35bbddfe10f7 Joonyoung Shim 2009-08-09 467 --- 0-DAY kernel test infrastructure Open Source Technology Cen= ter https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corpor= ation --===============6298706144884465480==--