79528521

Date: 2025-03-23 06:02:45
Score: 0.5
Natty:
Report link

@Aakash - The warning shows up because the device’s kobject is being initialized twice.

The first initialization occurs on platform_device_alloc() and again with platform_device_register().

Essentially, it's trying to reinitialize an already set-up object.

Even though the warning appears, it doesn’t affect the functionality. The module loads and unloads fine since the kernel handles this extra initialization without issues.

Hope that helps clarify things!

Reasons:
  • Whitelisted phrase (-1): Hope that helps
  • Has code block (-0.5):
  • User mentioned (1): @Aakash
  • Low reputation (1):
Posted by: CoderLuii