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:	Tue, 11 Jan 2011 12:43:37 +0000
From:	Jamie Iles <jamie@...ieiles.com>
To:	linux-kernel@...r.kernel.org
Cc:	Jamie Iles <jamie@...ieiles.com>
Subject: [PATCH 00/16] don't treat NULL from clk_get() as an error

As described in a discussion with Russell King[1], clk_get() should
return a pointer to the struct clk or an ERR_PTR() encoded pointer on
error.  The pointer is effectively a cookie for the clk and NULL is a
valid cookie.  Fixup existing drivers to use IS_ERR() and not checking
against NULL or using IS_ERR_OR_NULL().

1. http://www.spinics.net/linux/lists/arm-kernel/msg110009.html

Jamie Iles (16):
  crypto: omap-aes: don't treat NULL clk as an error
  crypto: omap-sham: don't treat NULL clk as an error
  input: tnetv107x-keypad: don't treat NULL clk as an error
  input: tnetv107x-touchscreen: don't treat NULL clk as an error
  s3c2410fb: don't treat NULL clk as an error
  nuc900fb: don't treat NULL clk as an error
  staging: tidspbridge: don't treat NULL clk as an error
  ARM: samsung: serial: don't treat NULL clk as an error
  ARM: pxa: don't treat NULL clk as an error
  drivers/net: stmmac: don't treat NULL clk as an error
  drivers/net: sh_irda: don't treat NULL clk as an error
  mtd: mpc5121_nfc: don't treat NULL clk as an error
  MMC: jz4740: don't treat NULL clk as an error
  can: mpc5xxx_can: don't treat NULL clk as an error
  spi: dw_spi: don't treat NULL clk as an error
  w1: mxc_w1: don't treat NULL clk as an error

 drivers/crypto/omap-aes.c                 |    5 +++--
 drivers/crypto/omap-sham.c                |    4 ++--
 drivers/input/keyboard/tnetv107x-keypad.c |    5 +++--
 drivers/input/touchscreen/tnetv107x-ts.c  |    5 +++--
 drivers/mmc/host/jz4740_mmc.c             |    5 +++--
 drivers/mtd/nand/mpc5121_nfc.c            |    5 +++--
 drivers/net/can/mscan/mpc5xxx_can.c       |    5 +++--
 drivers/net/irda/sh_sir.c                 |    5 +++--
 drivers/net/stmmac/stmmac_timer.c         |    3 ++-
 drivers/pcmcia/pxa2xx_base.c              |    5 +++--
 drivers/serial/samsung.c                  |    3 ++-
 drivers/spi/dw_spi_mmio.c                 |    5 +++--
 drivers/staging/tidspbridge/core/wdt.c    |    9 +++++----
 drivers/video/nuc900fb.c                  |    5 +++--
 drivers/video/s3c2410fb.c                 |    5 +++--
 drivers/w1/masters/mxc_w1.c               |    5 +++--
 16 files changed, 47 insertions(+), 32 deletions(-)

-- 
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ