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-next>] [day] [month] [year] [list]
Date:   Mon, 12 Sep 2016 10:03:31 -0400
From:   Javier Martinez Canillas <javier@....samsung.com>
To:     linux-kernel@...r.kernel.org
Cc:     Javier Martinez Canillas <javier@....samsung.com>,
        Arnd Bergmann <arnd@...db.de>,
        Sony Chacko <sony.chacko@...gic.com>,
        Giuseppe Cavallaro <peppe.cavallaro@...com>,
        Solarflare linux maintainers <linux-net-drivers@...arflare.com>,
        Florian Westphal <fw@...len.de>,
        Bert Kenward <bkenward@...arflare.com>,
        Geert Uytterhoeven <geert@...ux-m68k.org>,
        Edward Cree <ecree@...arflare.com>,
        Kalle Valo <kvalo@...eaurora.org>,
        Marcin Wojtas <mw@...ihalf.com>,
        Antonio Quartulli <a@...table.cc>,
        intel-wired-lan@...ts.osuosl.org,
        Florian Fainelli <f.fainelli@...il.com>,
        Felipe Balbi <felipe.balbi@...ux.intel.com>,
        Gregory CLEMENT <gregory.clement@...e-electrons.com>,
        Dept-HSGLinuxNICDev@...gic.com,
        Jeff Kirsher <jeffrey.t.kirsher@...el.com>,
        Mugunthan V N <mugunthanvnm@...com>,
        Andrew Lunn <andrew@...n.ch>,
        Steffen Klassert <klassert@...hematik.tu-chemnitz.de>,
        Stanislaw Gruszka <sgruszka@...hat.com>,
        Denis Kirjanov <kda@...ux-powerpc.org>,
        Zhao Qiang <qiang.zhao@...escale.com>, netdev@...r.kernel.org,
        Gerlando Falauto <gerlando.falauto@...mile.com>,
        linux-wireless@...r.kernel.org, Ion Badulescu <ionut@...ula.org>,
        "David S. Miller" <davem@...emloft.net>,
        Daniele Venzano <venza@...wnhat.org>,
        Alexandre Torgue <alexandre.torgue@...com>
Subject: [PATCH 00/15] drivers: net: use IS_ENABLED() instead of checking for built-in or module

Hello David,

This trivial series is similar to [0] for net/ that you already merged, but
for drivers/net. The patches replaces the open coding to check for a Kconfig
symbol being built-in or module, with IS_ENABLED() macro that does the same.

Using the macro makes the code more readable by helping abstract away some
of the Kconfig built-in and module enable details.

[0]: https://lkml.org/lkml/2016/9/9/323

Best regards,
Javier


Javier Martinez Canillas (15):
  3c59x: use IS_ENABLED() instead of checking for built-in or module
  starfire: use IS_ENABLED() instead of checking for built-in or module
  ethernet: amd: use IS_ENABLED() instead of checking for built-in or
    module
  bnx2: use IS_ENABLED() instead of checking for built-in or module
  sundance: use IS_ENABLED() instead of checking for built-in or module
  net/fsl_pq_mdio: use IS_ENABLED() instead of checking for built-in or
    module
  i825xx: use IS_ENABLED() instead of checking for built-in or module
  ixgbe: use IS_ENABLED() instead of checking for built-in or module
  net: mvneta: use IS_ENABLED() instead of checking for built-in or
    module
  natsemi: use IS_ENABLED() instead of checking for built-in or module
  sfc: use IS_ENABLED() instead of checking for built-in or module
  sis900: use IS_ENABLED() instead of checking for built-in or module
  stmmac: use IS_ENABLED() instead of checking for built-in or module
  hamradio: use IS_ENABLED() instead of checking for built-in or module
  iwlegacy: use IS_ENABLED() instead of checking for built-in or module

 drivers/net/ethernet/3com/3c59x.c            | 2 +-
 drivers/net/ethernet/adaptec/starfire.c      | 2 +-
 drivers/net/ethernet/amd/7990.c              | 6 +++---
 drivers/net/ethernet/amd/amd8111e.c          | 2 +-
 drivers/net/ethernet/broadcom/bnx2.c         | 2 +-
 drivers/net/ethernet/dlink/sundance.c        | 2 +-
 drivers/net/ethernet/freescale/fsl_pq_mdio.c | 8 ++++----
 drivers/net/ethernet/i825xx/82596.c          | 4 ++--
 drivers/net/ethernet/intel/ixgbe/ixgbe.h     | 4 ++--
 drivers/net/ethernet/marvell/mvneta_bm.h     | 2 +-
 drivers/net/ethernet/natsemi/ns83820.c       | 2 +-
 drivers/net/ethernet/sfc/falcon_boards.c     | 4 ++--
 drivers/net/ethernet/sis/sis900.c            | 4 ++--
 drivers/net/ethernet/sis/sis900.h            | 2 +-
 drivers/net/ethernet/stmicro/stmmac/common.h | 2 +-
 drivers/net/hamradio/bpqether.c              | 2 +-
 drivers/net/wireless/intel/iwlegacy/common.h | 4 ++--
 17 files changed, 27 insertions(+), 27 deletions(-)

-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ