]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi: takes size of a pointer to determine the size of the pointed-to type
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 16 Jun 2009 22:31:15 +0000 (15:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Jul 2009 23:49:53 +0000 (16:49 -0700)
commit8329f58f8e68dc0c9c7c104d99207a5dd4d8eda1
tree4218cbaec5829a48911b11af59b37db73b90cf5b
parent206f0f05bdc291a9358ba59248e2bc44e8b3127d
spi: takes size of a pointer to determine the size of the pointed-to type

commit 021415468c889979117b1a07b96f7e36de33e995 upstream.

Do not take the size of a pointer to determine the size of the pointed-to
type.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kumar Gala <galak@gate.crashing.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/spi/spi_mpc83xx.c