Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1351649pxu; Mon, 23 Nov 2020 19:45:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJzSGxM9gVOh2Hl473nhv3ndQeCogR3NVRnPlTWE4skW7zicQx1FUfzrMxaf3w67TTJvjEyD X-Received: by 2002:a17:906:7f01:: with SMTP id d1mr2503847ejr.429.1606189553888; Mon, 23 Nov 2020 19:45:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606189553; cv=none; d=google.com; s=arc-20160816; b=f/k2Pqme/0TFEdKFJn0+U8GbMEjK4k+xTxvyCGrxxUlgdJ4iZiN5uH6HiM0uD5WjVY dVJMSU15Dt01dJsX1PTdPOI9C4IURCRKoEnAxdpoiYcw0xTEtb92Xh9vg4OiVkijTRr6 rtqQ0Nuos8KjSMMr5ThyS5heKSkNN/rWLpokoSse38x3At6nMIp/fwxjwwxL16tEb/LG K7vHRrTNdxw85jHwPO45WspF6mXsx4ftfhPOn0KE8f1BWCFzcDfLdJwTu74YuCzHbhXm mY4h4MGkN5y82tWQ7APZKUxhJisO/shpjmAtv5VI+6dTwtPrmsE2r6QGvvSN1S6xy976 8vxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:date:references :message-id:organization:from:subject:cc:to:dkim-signature; bh=pzrCsChShpLKDP2NqZYqTSv3p346D77cpPiTvZADMhA=; b=xIqVfIiUIawUs4Xu4H6h0huP9fvMsP2j+WTk4AqIbE26UzLFGRnNJGHaMbVVexAFZF m4/MrWZgHBM/qiWwGwHnxgR4PEnSrwoRV5WGLrv7Ssj98mTRyz6fP9AltNn6aPsdyOzy MIFVhDwWdkVtAMBLPM+lSSMQhpXH+UesVSOhIq3ENjZZT33DYIOw5xERTw74t8KX4q8/ djBanbR6uGPQveX+es1+IoQ6TIUQuvOMdOZOis3jHAU9+boDTqEDzFuPfXMdM2Lj1xSz DlILcpN93r2vrQl1ULRJ6i1W/ZFUZ4pb2pEveDsjGvA7+Iq0tICcS3MY4BOCB8CPsbE+ WO6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=D0I8Igcr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pg1si7304157ejb.96.2020.11.23.19.45.31; Mon, 23 Nov 2020 19:45:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=D0I8Igcr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729009AbgKXDRr (ORCPT + 99 others); Mon, 23 Nov 2020 22:17:47 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:52950 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728990AbgKXDRq (ORCPT ); Mon, 23 Nov 2020 22:17:46 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0AO38abx008446; Tue, 24 Nov 2020 03:17:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : message-id : references : date : in-reply-to : mime-version : content-type; s=corp-2020-01-29; bh=pzrCsChShpLKDP2NqZYqTSv3p346D77cpPiTvZADMhA=; b=D0I8Igcr/PlzLi10zoQJGidxJfLX5hT+elpoEiQvJIhkP9tJ1uu1RliEyUNJT81LLiiD KzRhK8ocptxgG54xPaQ47els6n1hECxwjMM6MyDOgT4hqBZbk9AOy7PIX/8FlzIlMsWu Yxf26E7bxBYjKo4e26qSpszodqXDBF3RyLcBNkv014aaluAZxBHudk52nCh82XqFgiIw Ikrxj/T2ClFLsGTIO87libCaUxATeKdTxvxtYilhymSKINfRHPHi9hG0BPVcULFhabuG DyYlpMSh8nJycDgC4zEkDWdtioYIc0w+6CPz6vazu/jV7iEDTMQT707l0pZqYCPwor3I LQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2130.oracle.com with ESMTP id 34xrdarhvt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 24 Nov 2020 03:17:38 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0AO39dMN160644; Tue, 24 Nov 2020 03:17:38 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 34yx8j978p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Nov 2020 03:17:38 +0000 Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0AO3Hao1016158; Tue, 24 Nov 2020 03:17:36 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 23 Nov 2020 19:17:35 -0800 To: Xu Wang Cc: jinpu.wang@cloud.ionos.com, jejb@linux.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi: pm8001: remove casting kcalloc From: "Martin K. Petersen" Organization: Oracle Corporation Message-ID: References: <20201120083648.9319-1-vulab@iscas.ac.cn> Date: Mon, 23 Nov 2020 22:17:33 -0500 In-Reply-To: <20201120083648.9319-1-vulab@iscas.ac.cn> (Xu Wang's message of "Fri, 20 Nov 2020 08:36:48 +0000") MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9814 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 spamscore=0 suspectscore=44 bulkscore=0 mlxlogscore=989 malwarescore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011240018 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9814 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 impostorscore=0 mlxscore=0 mlxlogscore=999 spamscore=0 phishscore=0 clxscore=1011 malwarescore=0 lowpriorityscore=0 adultscore=0 suspectscore=44 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011240018 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Xu, > Remove casting the values returned by kcalloc. Applied to 5.11/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering