From patchwork Thu Jun 15 13:00:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 108510 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp625283vqr; Thu, 15 Jun 2023 06:13:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6p2KMFNHLsyK6m9CEg8M1q9QMtofYER4bRRt/FhIjY7D/LPCXuMhf4y4zmQHYxWqDwZPWB X-Received: by 2002:a05:6a20:7f95:b0:11e:7ced:3360 with SMTP id d21-20020a056a207f9500b0011e7ced3360mr1351135pzj.4.1686834784964; Thu, 15 Jun 2023 06:13:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686834784; cv=none; d=google.com; s=arc-20160816; b=dIxINXbXhlRNJorbuW0Fbz4IK6YVp/V/dPCZxgSZvkhwutBPvk0JMxe8wZPEjeHsdB qGx8OY7wXeC5CiIyKa3l/ZK5d4oIhi4x5wlaESpdO4W3PC0JouiKB6PpBASF6FpRSaiD AvpXhqFu/dlad1uOcB4qCCXxXd7q7gGvOHzXEvbI1oABQL6SIQ7Tzm5tjLPGYn2A/SQJ oTCx1HgIGi9tOrU3pNcYSYhc4xH8tuNryYFjmTpcCla5wJxZLq9DdrumZsO3khacIe3N BSYM9mFPSMXk+pOgHbsGa5XQROW5z6I2qPaqgxqbsRQCdY6sO4CB+q9FB5N1s/kRFS5O geqQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j13-20020a63b60d000000b00540107fc033si12483991pgf.282.2023.06.15.06.12.48; Thu, 15 Jun 2023 06:13:04 -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 S1343531AbjFONA5 (ORCPT + 99 others); Thu, 15 Jun 2023 09:00:57 -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-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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768774471671377897?= X-GMAIL-MSGID: =?utf-8?q?1768774471671377897?= 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(-)