* [BUG] most: usb: Found a bug at the probe time
@ 2022-07-17 3:47 ` Zheyu Ma
0 siblings, 0 replies; 2+ messages in thread
From: Zheyu Ma @ 2022-07-17 3:47 UTC (permalink / raw)
To: sumit.semwal, christian.koenig
Cc: linaro-mm-sig, Linux Kernel Mailing List, DRI Development, linux-media
Hello,
I found a bug in the most usb driver.
When the driver fails at
mdev->conf = kcalloc(num_endpoints, sizeof(*mdev->conf), GFP_KERNEL);
I got the following warning message:
[ 15.406256] kobject: '(null)' (ffff8881068f8000): is not
initialized, yet kobject_put() is being called.
[ 15.406986] WARNING: CPU: 3 PID: 396 at lib/kobject.c:720
kobject_put+0x6e/0x1c0
[ 15.410120] RIP: 0010:kobject_put+0x6e/0x1c0
[ 15.410470] Code: 01 75 29 4c 89 f8 48 c1 e8 03 80 3c 28 00 74 08
4c 89 ff e8 14 2e 73 ff 49 8b 37 48 c7 c7 c0 fc de 85 4c 89 fa e8 e2
61 21 ff <0f> 0b 49 8d 5f 38 48 89 df be 04 00 00 00 e8 df 2e 73 ff b8
ff ff
[ 15.416529] Call Trace:
[ 15.416896] hdm_probe+0xf3d/0x1090 [most_usb]
Since I'm not familiar with the driver, I ask for your help to solve
the warning.
regards,
Zheyu Ma
^ permalink raw reply [flat|nested] 2+ messages in thread
* [BUG] most: usb: Found a bug at the probe time
@ 2022-07-17 3:47 ` Zheyu Ma
0 siblings, 0 replies; 2+ messages in thread
From: Zheyu Ma @ 2022-07-17 3:47 UTC (permalink / raw)
To: sumit.semwal, christian.koenig
Cc: Linux Kernel Mailing List, linux-media, DRI Development, linaro-mm-sig
Hello,
I found a bug in the most usb driver.
When the driver fails at
mdev->conf = kcalloc(num_endpoints, sizeof(*mdev->conf), GFP_KERNEL);
I got the following warning message:
[ 15.406256] kobject: '(null)' (ffff8881068f8000): is not
initialized, yet kobject_put() is being called.
[ 15.406986] WARNING: CPU: 3 PID: 396 at lib/kobject.c:720
kobject_put+0x6e/0x1c0
[ 15.410120] RIP: 0010:kobject_put+0x6e/0x1c0
[ 15.410470] Code: 01 75 29 4c 89 f8 48 c1 e8 03 80 3c 28 00 74 08
4c 89 ff e8 14 2e 73 ff 49 8b 37 48 c7 c7 c0 fc de 85 4c 89 fa e8 e2
61 21 ff <0f> 0b 49 8d 5f 38 48 89 df be 04 00 00 00 e8 df 2e 73 ff b8
ff ff
[ 15.416529] Call Trace:
[ 15.416896] hdm_probe+0xf3d/0x1090 [most_usb]
Since I'm not familiar with the driver, I ask for your help to solve
the warning.
regards,
Zheyu Ma
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-17 3:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-17 3:47 [BUG] most: usb: Found a bug at the probe time Zheyu Ma
2022-07-17 3:47 ` Zheyu Ma
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.