Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5563937imu; Tue, 13 Nov 2018 08:24:11 -0800 (PST) X-Google-Smtp-Source: AJdET5c8VGtHRcdmZKPFBaFLsEvAPW6+RnzoH+kcgBKpdhwqC431WuD3vCLALx64jkeN6JrmSywS X-Received: by 2002:aa7:880d:: with SMTP id c13-v6mr3334418pfo.20.1542126251837; Tue, 13 Nov 2018 08:24:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542126251; cv=none; d=google.com; s=arc-20160816; b=EXvehJDGwOho1zGv3UDhWDM3oNnFLwjSNmruQ5/0pMKKyXo4BclehCr+SEyypgWGOj uENskgUIW+x2JCmYhvMZdOPOYBTcXlNU3zEQsywnX5SuFAHcjC1ixU6cdhzsKTyb3GwM 9UwKm0/kYNEv/W1pVPCtUJxRpsDheIhrjLJnAcfzNP3IZQqdOj9H+DHYcnRnqMf8p41c 1lRhpJowlmbrTa2X/m4D9IfBitB+s+ogM/bOgEF5yzwcQ9ELdZWaszCoaTsluKLJV4ZJ 3s10QgGNs+Y86zxmVWhAr3mQKQvUgabjPPvCzmo71pb6tk2LwuNPkq51JlIEziCAFAER xc+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=/BxN1TN9qFIrjRScCwvzKbApUsN855oEfxZOdW8dFS4=; b=0VnIxe6tx56YIA5cP1q9pWPDG9+htyqTIuxyxl/tQKlPUlAigGbB5QKw8huG8Aa4CV RhiMMDrATNr6y6ZbjdFUSH4p3lQ3yVtvKyF21XzsLxMqYcX9zvMrFOVldMoGf88VFToE WOVCyDPpxjDAUwItzw8H7AR9FtyxVcW+ZOvuK83PUGS2lgGB8zRNMqXiif7+dsNaHjNM bGLKCYbXFGEUU3y+Y6kSPx7SjiKQhRz1p/aEJLjY0Ti0Ay7eBJYEoH1xiW116QhYhDJm wjiPj//wFGsCN6+sIXLW2qGvrR8DNfhex3KcTQqHEW7e0rmXwH+hHjb+WGixaaf8pn+N dPMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nlvzzd01; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p19si8498656pgj.375.2018.11.13.08.23.40; Tue, 13 Nov 2018 08:24:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nlvzzd01; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730901AbeKNCVq (ORCPT + 99 others); Tue, 13 Nov 2018 21:21:46 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:40385 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726535AbeKNCVq (ORCPT ); Tue, 13 Nov 2018 21:21:46 -0500 Received: by mail-pl1-f195.google.com with SMTP id b22-v6so805556pls.7; Tue, 13 Nov 2018 08:22:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=/BxN1TN9qFIrjRScCwvzKbApUsN855oEfxZOdW8dFS4=; b=nlvzzd01ozR3o7rl0JadYbDep0zx60ZCgmNlZTNkqN7hsZTrXxHny3Dt7VrC/idKBe E+VtdBEkAcgh23ZAjwGxyip7KzYIv8x/wZLTmRgJkPd5io2duzjEmp3RQw98hl9//2+E +DJw0I1zfRG+EHO18grnUoUQovb7zWiGrgwbnhfK9gpZe4N4683enenigZMLqL5ayE3u R5vDpfCSFjFQW3HAiaHyRAYzClAX8BWJ4+6IXM9C1ySU2O6KX+woNOLvVtdD5yo2wS9v I1TdcN2VVH3GKPqbVMHMhVkWqz0Jcv3/pXxfFxEtNhTiS+cTjkWpw/YUN5mUFcDngcRu U2/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=/BxN1TN9qFIrjRScCwvzKbApUsN855oEfxZOdW8dFS4=; b=Jh7wyKih5ao8OPMgQUjkksc2D+sT4AdODjajDhFaRpHkvYqPSwJNX5jzbJSF5XG9td 5HV6/Ck5sHiXseV0GMziwT7igLsVcy1HgGA4kstyHvZ3wyQuASiI0sstNevThq/KFDmV wAoRxYzxm+y8vJeh0z5XLRNH5/1UvFehbkE1UtGEtp1vSv/jTNe4/zOw1PzC1Zg/O7du Hd4+JEoEGUg5QTtJ+7wobHUylIxldv0Ak9hy8VQFwHDMJKUTaAWBgQwRSMrx90c4LpDB QoKmX8QG+rC2W1ggx+6t56zBZOfjwduowpvtzWYfiwsj3cnfXAbJrf+whfR+BOL2LuQX ObcA== X-Gm-Message-State: AGRZ1gLNtmId5A8vuZd7WHw64gfeodsOaMayknUkbJfyx4d49Ot+vW0x 2r6z30/JOMmFqMyClwc0pgFTBdEjoDm4vmWmySc= X-Received: by 2002:a17:902:654a:: with SMTP id d10-v6mr5494550pln.302.1542126178436; Tue, 13 Nov 2018 08:22:58 -0800 (PST) MIME-Version: 1.0 References: <5beae8ff.1c69fb81.bd59a.b7fa@mx.google.com> <13d3418f-49d1-d683-48a6-cedbc073d86f@suse.de> <1542125473.3042.6.camel@linux.vnet.ibm.com> In-Reply-To: From: Sabyasachi Gupta Date: Tue, 13 Nov 2018 21:52:46 +0530 Message-ID: Subject: Re: [PATCH] drivers/scsi/fnic/fnic_trace.c: Use vzalloc To: jthumshirn@suse.de Cc: jejb@linux.vnet.ibm.com, john.garry@huawei.com, satishkh@cisco.com, sebaddel@cisco.com, kartilak@cisco.com, martin.petersen@oracle.com, Souptick Joarder , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Brajeswar Ghosh Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 13, 2018 at 9:46 PM Johannes Thumshirn wro= te: > > On 13/11/2018 17:11, James Bottomley wrote: > > This is incorrect advice: there's no need to cast it to other *pointer* > > types, but if you cast it to a non-pointer type (which this is doing) > > the compiler will complain if there is no explicit cast. shall I leave the typecast as it is? > Right, sorry for that and thanks for spotting it James. > > Byte, > Johannes > -- > Johannes Thumshirn SUSE Labs > jthumshirn@suse.de +49 911 74053 689 > SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg > GF: Felix Imend=C3=B6rffer, Jane Smithard, Graham Norton > HRB 21284 (AG N=C3=BCrnberg) > Key fingerprint =3D EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850