iwlwifi: don't use stack memory for kmem cache name
authorJohannes Berg <johannes.berg@intel.com>
Thu, 12 Jul 2012 11:56:28 +0000 (13:56 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 12 Jul 2012 12:37:39 +0000 (14:37 +0200)
Since the kmem cache API doesn't internally allocate
the name but just points to the name that was passed
in we can't use stack memory for it. Move the name
into the transport struct.

Reported-by: Stanislaw Gruszka <sgruszka@redhat.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found