Message ID | 20200824082356.994960635@linuxfoundation.org |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=P6ku=CC=vger.kernel.org=stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA77AC433E1 for <stable@archiver.kernel.org>; Mon, 24 Aug 2020 09:01:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 85A23206BE for <stable@archiver.kernel.org>; Mon, 24 Aug 2020 09:01:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598259679; bh=MUfmXe8Eq8zaIzW6yi47MEM48fwEIH2DgIVAT67gkcM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=BMPvTdLzDYU5pxXleIYavm0z/uimSU9VnNFOJ/H+IfhAKBMnZq8RFLnL1K2c+GJGi CqkOzli4lzuFm+vwCQi6HT2Qb8Xa5cGeT+5oEGEtCn7xcEoQUhxLX1y5nxspE1xjpT I+j0Ik+Nn5e/JfAAmxG1DD5nl8CMhWEkyWJvQGJM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730615AbgHXI5A (ORCPT <rfc822;stable@archiver.kernel.org>); Mon, 24 Aug 2020 04:57:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:43374 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730614AbgHXI47 (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 24 Aug 2020 04:56:59 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2B2242072D; Mon, 24 Aug 2020 08:56:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598259418; bh=MUfmXe8Eq8zaIzW6yi47MEM48fwEIH2DgIVAT67gkcM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iCkrotGLlYlCZ6beLhaa3UXar8GJrijrGASjrniSS7fJt4M68MNclugi3n/owb3Lz wYkpKhMDRaCzxGOqRhgARolmydE9v++32Y0NhkRUJmIcId/ZW4MjIheb7l1XzJG4If VVvQpCJGTtBCcjPoEbkIEg+ufa7DEvh1Qs+z5oD8= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, JiangYu <lnsyyj@hotmail.com>, Daniel Meyerholt <dxm523@gmail.com>, Mike Christie <michael.christie@oracle.com>, Bodo Stroesser <bstroesser@ts.fujitsu.com>, "Martin K. Petersen" <martin.petersen@oracle.com>, Sasha Levin <sashal@kernel.org> Subject: [PATCH 4.19 22/71] scsi: target: tcmu: Fix crash in tcmu_flush_dcache_range on ARM Date: Mon, 24 Aug 2020 10:31:13 +0200 Message-Id: <20200824082356.994960635@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200824082355.848475917@linuxfoundation.org> References: <20200824082355.848475917@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/target/target_core_user.c b/drivers/target/target_core_user.c index 8da89925a874d..9c05e820857aa 100644 --- a/drivers/target/target_core_user.c +++ b/drivers/target/target_core_user.c @@ -612,7 +612,7 @@ static inline void tcmu_flush_dcache_range(void *vaddr, size_t size) size = round_up(size+offset, PAGE_SIZE); while (size) { - flush_dcache_page(virt_to_page(start)); + flush_dcache_page(vmalloc_to_page(start)); start += PAGE_SIZE; size -= PAGE_SIZE; }