Hello Mario Limonciello,

This is a semi-automatic email about new static checker warnings.

The patch d17a5ee12973: "Add WMI driver for controlling AlienFX
features on some Alienware products" from Apr 4, 2014, leads to the
following Smatch complaint:

drivers/platform/x86/alienware-wmi.c:551 alienware_wmi_exit()
         warn: variable dereferenced before check 'platform_device' (see line 
549)

drivers/platform/x86/alienware-wmi.c
   548  {
   549          alienware_zone_exit(platform_device);
                                    ^^^^^^^^^^^^^^^
   550          remove_hdmi(platform_device);
                            ^^^^^^^^^^^^^^^
   551          if (platform_device) {
                    ^^^^^^^^^^^^^^^
   552                  platform_device_unregister(platform_device);
   553                  platform_driver_unregister(&platform_driver);

regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" 
in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to