On 05/28/2011 06:32 AM, Dan Williams wrote: > Before isci adds a 3rd open coded user of this functionality just share > the libsas version. > > Cc: Jack Wang <jack_wang@xxxxxxxxx> > Cc: Lindar Liu <lindar_liu@xxxxxxxxx> > Cc: Xiangliang Yu <yuxiangl@xxxxxxxxxxx> > Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx> > --- > drivers/scsi/libsas/sas_init.c | 27 ++++++++++++++++++++++++++- > drivers/scsi/mvsas/mv_sas.c | 28 +++------------------------- > drivers/scsi/pm8001/pm8001_sas.c | 36 ++++++------------------------------ > include/scsi/libsas.h | 26 ++------------------------ > 4 files changed, 37 insertions(+), 80 deletions(-) > > diff --git a/drivers/scsi/libsas/sas_init.c b/drivers/scsi/libsas/sas_init.c > index 2dc5534..408a46b 100644 > --- a/drivers/scsi/libsas/sas_init.c > +++ b/drivers/scsi/libsas/sas_init.c Comments in include/linux/slab.h suggest that KMEM_CACHE macro should be used now instead of kmem_cache_create. Since you are touching this code anyway, might as well fix that (in sas_class_init). Thanks, -- Ankit Jain SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html