lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200825.074015.165950235545895585.davem@davemloft.net>
Date:   Tue, 25 Aug 2020 07:40:15 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     andriy.shevchenko@...ux.intel.com
Cc:     andrew@...n.ch, f.fainelli@...il.com, hkallweit1@...il.com,
        netdev@...r.kernel.org, linux@...linux.org.uk
Subject: Re: [PATCH v1] net: phy: leds: Deduplicate link LED trigger
 registration

From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Date: Mon, 24 Aug 2020 20:09:04 +0300

> Refactor phy_led_trigger_register() and deduplicate its functionality
> when registering LED trigger for link.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>

This doesn't compile:

  CC [M]  drivers/net/phy/phy_led_triggers.o
drivers/net/phy/phy_led_triggers.c: In function ‘phy_led_triggers_register’:
drivers/net/phy/phy_led_triggers.c:102:38: error: passing argument 2 of ‘phy_led_trigger_register’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  102 |  err = phy_led_trigger_register(phy, &phy->led_link_trigger, 0, "link");
      |                                      ^~~~~~~~~~~~~~~~~~~~~~
      |                                      |
      |                                      struct phy_led_trigger **
drivers/net/phy/phy_led_triggers.c:68:33: note: expected ‘struct phy_led_trigger *’ but argument is of type ‘struct phy_led_trigger **’
   68 |         struct phy_led_trigger *plt,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ