Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp146362ybg; Tue, 9 Jun 2020 19:07:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWXr+CH1krKHUXtLiwOpIVsxglolEk/CuhCEDj4nkUnCj2ZMLJRt4Pl/F8xvllHI/3Xtow X-Received: by 2002:a17:907:4030:: with SMTP id nr24mr1156441ejb.247.1591754852231; Tue, 09 Jun 2020 19:07:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591754852; cv=none; d=google.com; s=arc-20160816; b=tOyzCt67il4SdYKA3lfmy0eFFYjzhmRn/I/hlmJDBbuenIQxA+fgZSBRsxVf42jv4y 4auKk7gJjZT6KbcxkxCbz6wm4Z1N2vq4jCLmxlqmByga/tkopscMuYJuq0WlRRigfYcz zsZeOGrOhiR+plEkFoi61uzHQDC9F+QhVi5nP975jQo5ZCTtSX1l5Mx9GRL6qQ5oIe+U 1+krRJ4EEqi/RGETbM1dqyN0Ati4yKaD9JoKXjJxcM5NLOWjHPxnfY9vjm9nyu26twTg Wnj05A4fgjQcmfuV9fL8RVrgRIYkRUwREAYCURUfW2wzCjV6mjmBdCrgXW9md+3cW+jA aJrw== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FUdwjuiVg3XI+SCI7aOabvDXllYR84w4agJas1BGNQ4=; b=nK0ayjI3gPWNUIngPJGH1lv6lW6Q3qgvTwI7UA6HGTfTgRXvnjZXkJp2LLrbHyiYUv CscBYMs4/AaVOXXBlvpo5YvQO5ogNbuEw/8ymfqWCYRrESbvKSlZpZC5Mwt+d5FHusPp /ISB6TTLWOKfi+yuzofw2Cx9rh8OqO4HQeSs+0xkhoPMiolX5KTa3AprffqL/Bl3g4AW l1F7YoZAN9da30qXCc5hGhvxf2rAayXq8nG3p4c/YvJt/8hPNNGbc+Md5KF1pGznQelv jZLzmoxJ0Sf2f13qm+/jFGrBmSPF1fcnWqW+DIZUdADbivyCPTN3A4hNIf+gmtgu8DS5 hXCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b="O7/mtpNr"; 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 l5si12314257ede.477.2020.06.09.19.07.09; Tue, 09 Jun 2020 19:07:32 -0700 (PDT) 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="O7/mtpNr"; 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 S1726127AbgFJCFA (ORCPT + 99 others); Tue, 9 Jun 2020 22:05:00 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:42862 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725798AbgFJCE7 (ORCPT ); Tue, 9 Jun 2020 22:04:59 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 05A234K5103033; Wed, 10 Jun 2020 02:04:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=corp-2020-01-29; bh=FUdwjuiVg3XI+SCI7aOabvDXllYR84w4agJas1BGNQ4=; b=O7/mtpNr7Sxnp1ls3GcRwR5mz1EaSvsf56KLo8rwx6CbGwjBRXeZt6L9l7mPl7j6FYsK qv5SmgF5GLjkuF5x+VhT3KoGv0l+W7+3SYbBZ8fbulqdpcIZby8tAhHhPxVU4QzBbAgh QD/4jAZ+XURr8BOVn30ynBQTBKA2BZV7iZ8P5QG53vuYfXvtn41SzvvmNxewI1dVeDtW U8VgmLbBLx2+3GlKvazzP9E8ACQrn5MmG50kMbW9uJhFvt++Z1GNHyciZ3SCzPH/0A1t J79Tqtb0gYF5N9tmGBDEyq4gBcFDNF04ukvYOp0Eb92zdIw2KQVUUU/Sl5hH5+TpLyTN jw== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 31g3smyr77-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 10 Jun 2020 02:04:54 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 05A1wUNM021302; Wed, 10 Jun 2020 02:02:54 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3020.oracle.com with ESMTP id 31gmwsbn9u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 10 Jun 2020 02:02:54 +0000 Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 05A22rdK018484; Wed, 10 Jun 2020 02:02:53 GMT Received: from ca-mkp.ca.oracle.com (/10.156.108.201) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 09 Jun 2020 19:02:52 -0700 From: "Martin K. Petersen" To: Denis Efremov , Michael Kelley , Dexuan Cui Cc: "Martin K . Petersen" , Linux Kernel Mailing List , "James E . J . Bottomley" , linux-hyperv@vger.kernel.org, Linux SCSI List Subject: Re: [PATCH] scsi: storvsc: Remove memset before memory freeing in storvsc_suspend() Date: Tue, 9 Jun 2020 22:02:45 -0400 Message-Id: <159175452258.16072.9133246889327928354.b4-ty@oracle.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200605075934.8403-1-efremov@linux.com> References: <20200605075934.8403-1-efremov@linux.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9647 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 adultscore=0 mlxscore=0 mlxlogscore=879 bulkscore=0 malwarescore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006100013 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9647 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 cotscore=-2147483648 suspectscore=0 spamscore=0 bulkscore=0 malwarescore=0 phishscore=0 mlxscore=0 mlxlogscore=918 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006100013 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 5 Jun 2020 10:59:34 +0300, Denis Efremov wrote: > Remove memset with 0 for stor_device->stor_chns in storvsc_suspend() > before the call to kfree() as the memory contains no sensitive information. Applied to 5.8/scsi-queue, thanks! [1/1] scsi: storvsc: Remove memset before memory freeing in storvsc_suspend() https://git.kernel.org/mkp/scsi/c/f47c24033a1a -- Martin K. Petersen Oracle Linux Engineering