From patchwork Thu Jun 25 10:34:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Narsimhulu Musini X-Patchwork-Id: 6674771 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2501A9F399 for ; Thu, 25 Jun 2015 10:40:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 65FA52061D for ; Thu, 25 Jun 2015 10:40:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6AB9B2061A for ; Thu, 25 Jun 2015 10:40:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752080AbbFYKkm (ORCPT ); Thu, 25 Jun 2015 06:40:42 -0400 Received: from alln-iport-5.cisco.com ([173.37.142.92]:50900 "EHLO alln-iport-5.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751451AbbFYKkl (ORCPT ); Thu, 25 Jun 2015 06:40:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=786; q=dns/txt; s=iport; t=1435228841; x=1436438441; h=from:to:cc:subject:date:message-id; bh=hHqojaVGs+CxCxn4lp+8wDu0GqxtZqT+y37uxXRVzDw=; b=LgkLV7MFva3ZcE/QlLUsAasw9Kx/Pjq5A5cpM7wfjkPrE7Tk+zgjwyiK 5gGt0KxqWGMLxV/PU2M4xmY1mnWmlVNLa6mV1qK4sUSdBOR3AOOqFpPc8 7nlbwmpa3ffNseOodJ9NF/Kfpn8jAdrUXic6li2XTJLb/I5n/ttcYq0CM k=; X-IronPort-AV: E=Sophos;i="5.13,675,1427760000"; d="scan'208";a="162759864" Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by alln-iport-5.cisco.com with ESMTP; 25 Jun 2015 10:40:41 +0000 Received: from hishah-lnx.cisco.com (dhcp-171-71-13-47.cisco.com [171.71.13.47]) (authenticated bits=0) by rcdn-core-6.cisco.com (8.14.5/8.14.5) with ESMTP id t5PAeYXm002707 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 25 Jun 2015 10:40:41 GMT From: Narsimhulu Musini To: James.Bottomley@HansenPartnership.com, linux-scsi@vger.kernel.org, hare@suse.de Cc: Narsimhulu Musini Subject: [PATCH 1/1] snic: Fixing duplicate cache names Date: Thu, 25 Jun 2015 03:34:50 -0700 Message-Id: <1435228490-3996-1-git-send-email-nmusini@cisco.com> X-Mailer: git-send-email 1.8.5.4 X-Authenticated-User: nmusini@cisco.com Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-15.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY, USER_IN_DEF_DKIM_WL autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch fixes duplicate cache names. Signed-off-by: Narsimhulu Musini --- drivers/scsi/snic/snic_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/snic/snic_main.c b/drivers/scsi/snic/snic_main.c index b2b87ce..47ed593 100644 --- a/drivers/scsi/snic/snic_main.c +++ b/drivers/scsi/snic/snic_main.c @@ -919,7 +919,7 @@ snic_global_data_init(void) snic_glob->req_cache[SNIC_REQ_CACHE_MAX_SGL] = cachep; len = sizeof(struct snic_host_req); - cachep = kmem_cache_create("snic_req_maxsgl", len, SNIC_SG_DESC_ALIGN, + cachep = kmem_cache_create("snic_tm_req", len, SNIC_SG_DESC_ALIGN, SLAB_HWCACHE_ALIGN, NULL); if (!cachep) { SNIC_ERR("Failed to create snic tm req slab\n");