Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1086583rwd; Thu, 15 Jun 2023 06:15:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4O0abBhp6bWMk9suhBLpqzs5lfbya/1f6oniAUyPOqPS3NhRSTcS4+uySS+KzqI3WvdNtB X-Received: by 2002:a05:6a20:3d89:b0:118:c36a:721d with SMTP id s9-20020a056a203d8900b00118c36a721dmr5574684pzi.5.1686834939757; Thu, 15 Jun 2023 06:15:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686834939; cv=none; d=google.com; s=arc-20160816; b=c5fOzz1oWYVSVD5sgQfl72OMzWs7ZDVzAJJMTLOiRMazDpDcK4EunaFnCgppb+w/BG 5sIyNUwxPwM98mJAFTIdafJtnadkFz6WaKfTx6BLjTPBnfVCIGNDXeC0Ji0nSTy5ETYN cpvyHXca1lnIPto/XyqmeCcrAhifbBVDpAfpJmiXhd+a6GtWRpRqvWCr+2q6fqnRpFK8 EdY7D3Pv6eG7lIlK8Nt7JA5B5CescUPRxP8M0MNhl00ZmUDZ05deht3KaE0JVxq/WXQ5 YU8dey0Sgud3+l3SinKdvIBtbamtJmlt8XmTonzKAt+pI8tH+ziOIiGBsYwvUL5TVb9Y 4Gtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=5TctcZvXGN43HwETUwBc1JHngngPXfmJv1grpN3Hs04=; b=bpdiRPX0bSUrFzmwnbeopAV/ZkRBm+x3QE4sfD6ZgPtADEKU4dMX+K4WP+MBsBM30D rDGWicRd8USSOQLbbvfoNjukJFxPV7h3tSxDrmg7Q5XAFw1VityzPTNsC2vHQ57cpz93 E5hchV1Q9Rp9aQaabDHI7d/P7XtqwlzJ84nkMI339+c4Y8oUJs4iBVtpbrBhvXITuOcH oLLQz5bsJEF9rgpEVs3A1EsSDzfgMdvPkplybqNuzOSv+KVxwPMa7TeQpZyJn654RWR2 FMLvXMqjmOHuvmiifa23H59nrP1a4qXtoTgbJGZyTfjTw62VGdNAZ2OGv81Nd88hYEBa 5cOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kWH5wT16; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l197-20020a633ece000000b00545273315a4si8862502pga.560.2023.06.15.06.15.20; Thu, 15 Jun 2023 06:15:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kWH5wT16; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245731AbjFONA4 (ORCPT + 99 others); Thu, 15 Jun 2023 09:00:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241853AbjFONAz (ORCPT ); Thu, 15 Jun 2023 09:00:55 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D9AB1BC9 for ; Thu, 15 Jun 2023 06:00:53 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4f004cc54f4so10519191e87.3 for ; Thu, 15 Jun 2023 06:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686834052; x=1689426052; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=5TctcZvXGN43HwETUwBc1JHngngPXfmJv1grpN3Hs04=; b=kWH5wT1655+UGW6aDb53bxMa3hBYH17QrxPTsuS34rPkI7u4/If0ZBBvHfEtUeStHD pruKT02Tr8NLLGcgRr1TK7G2XHjFbZ8e2sdxJg3ERDs/kgZEEJYqLQeee++MYsEWpj1Z 75Thz7oRqM3LRvJWI7ulD1ArHNj3llb7ylJ7HnmUn7o7mlcQp/Uvi6zY7D5dScmS0X03 i3V6q7GBE7qQo3b1C3Kgs/oNgCVyOGWTDmUoUr25o1zw1xZuvPrS78pgq/q9ns7q2R9p FrsaTnnM0L7C/Ii0Ht5Xg64CoisL0wJ8Q2H4ZK1LZvVgtoXFqSranXUZHnqgqVUs2bga kgtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686834052; x=1689426052; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5TctcZvXGN43HwETUwBc1JHngngPXfmJv1grpN3Hs04=; b=kolu0l2LZh1JrYpTLVcV+rmLCQHreU/ePU3WLvtyYc/ufK3YwH4RI9ZmO96FqGtVD0 e0wZYwXmQPNn5UJ/fBeSTKbdCCsWovcJRW40NsNQnRDETzY7qNY75vTaI0Eylu6CF2aX +6Sg3xzP2CHETCy1+wMsqI1+UjQhhGeGbIdmL489GRjkCeUVkdLMsDpZL5ch6OdZf4SR WMXBj0oN/WPuR/f7g809jl9VCQVr38cBZ/VOWrj8ltqr5OR9I2dTEuGlACU98+1JIFNp 3HEuySvmbfRAjqQZGiD2qTe3KsoDvq0hbqK9eHo0DKE+FNaii3+cSaeahi5f3HiQ2yui iS0A== X-Gm-Message-State: AC+VfDxuoSUnIqv/F20M3UthCt7W8xCE2Be9ykmt6zT4J9AiAyuAVeKB osOXZP7RJtOJsVDLFhurdrckBg== X-Received: by 2002:a19:7b05:0:b0:4f1:3eea:eaf9 with SMTP id w5-20020a197b05000000b004f13eeaeaf9mr10605445lfc.24.1686834051722; Thu, 15 Jun 2023 06:00:51 -0700 (PDT) Received: from rayden (81-236-179-152-no272.tbcn.telia.com. [81.236.179.152]) by smtp.gmail.com with ESMTPSA id d29-20020ac25edd000000b004e83fbba141sm1860644lfq.164.2023.06.15.06.00.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jun 2023 06:00:51 -0700 (PDT) Date: Thu, 15 Jun 2023 15:00:49 +0200 From: Jens Wiklander To: arm@kernel.org, soc@kernel.org Cc: Linux Kernel Mailing List , op-tee@lists.trustedfirmware.org Subject: [GIT PULL] Use kmemdup() in OP-TEE driver for v6.5 Message-ID: <20230615130049.GA979203@rayden> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello arm-soc maintainers, Please pull this small patch to the OP-TEE driver that replaces kmalloc() + memcpy() with kmemdup() at one place. Thanks, Jens The following changes since commit f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6: Linux 6.4-rc2 (2023-05-14 12:51:40 -0700) are available in the Git repository at: https://git.linaro.org/people/jens.wiklander/linux-tee.git tags/optee-use-kmemdup-for-6.5 for you to fetch changes up to 6a8b7e80105416cc7324fda295608ea2d3f98862: tee: optee: Use kmemdup() to replace kmalloc + memcpy (2023-06-15 08:49:55 +0200) ---------------------------------------------------------------- Use kmemdup() in OP-TEE driver ---------------------------------------------------------------- Jiapeng Chong (1): tee: optee: Use kmemdup() to replace kmalloc + memcpy drivers/tee/optee/smc_abi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)