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]
Date:	Tue, 28 Apr 2009 21:27:14 +0200
From:	Pierre Ossman <drzeus-mmc@...eus.cx>
To:	Uwe Kleine-König 
	<u.kleine-koenig@...gutronix.de>
Cc:	linux-kernel@...r.kernel.org,
	Grazvydas Ignotas <notasas@...il.com>,
	David Brownell <dbrownell@...rs.sourceforge.net>,
	Tony Lindgren <tony@...mide.com>,
	Russell King <rmk+kernel@....linux.org.uk>,
	Paul Walmsley <paul@...an.com>,
	Jarkko Lavinen <jarkko.lavinen@...ia.com>,
	Hiroshi DOYU <Hiroshi.DOYU@...ia.com>,
	Kyungmin Park <kyungmin.park@...sung.com>,
	Carlos Eduardo Aguiar <carlos.aguiar@...t.org.br>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] make mmci-omap using platform_driver_probe

On Thu,  2 Apr 2009 19:47:41 +0200
Uwe Kleine-König <u.kleine-koenig@...gutronix.de> wrote:

> A pointer to mmc_omap_probe which lives in .init.text is passed to the
> core via platform_driver_register and so the kernel might oops if probe
> is called after the init code is discarded.
> 
> As requested by David Brownell platform_driver_probe is used instead of
> moving the probe function to .devinit.text.  This saves some memory, but
> might have the downside that a device being registered after the call to
> mmc_omap_init but before the init sections are discarded will not be
> bound anymore to the driver.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
> Cc: Grazvydas Ignotas <notasas@...il.com>
> Cc: Pierre Ossman <drzeus-mmc@...eus.cx>
> Cc: David Brownell <dbrownell@...rs.sourceforge.net>
> Cc: Tony Lindgren <tony@...mide.com>
> Cc: Russell King <rmk+kernel@....linux.org.uk>
> Cc: Paul Walmsley <paul@...an.com>
> Cc: Jarkko Lavinen <jarkko.lavinen@...ia.com>
> Cc: Hiroshi DOYU <Hiroshi.DOYU@...ia.com>
> Cc: Kyungmin Park <kyungmin.park@...sung.com>
> Cc: Carlos Eduardo Aguiar <carlos.aguiar@...t.org.br>
> Cc: Andrew Morton <akpm@...ux-foundation.org>
> 
> ---

Queued.

Rgds
-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  rdesktop, core developer          http://www.rdesktop.org
  TigerVNC, core developer          http://www.tigervnc.org

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.
--
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