Message ID | 20180619151205.11300-4-srinivas.kandagatla@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5329078lji; Tue, 19 Jun 2018 08:12:48 -0700 (PDT) X-Google-Smtp-Source: ADUXVKID3193MF4n4M7mdCTimH82mE78gxy5RX7d59Fas3mYdD4rOPsI/mW1DuUZ9XVUnTDkL/xQ X-Received: by 2002:a17:902:1023:: with SMTP id b32-v6mr19714048pla.145.1529421168101; Tue, 19 Jun 2018 08:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529421168; cv=none; d=google.com; s=arc-20160816; b=TF2b0EVnku6+A8+MjyvFmUIRLPEyWJgsQQoTh2aRbqHQb8VJZylc2WN8EubVKKUvC1 2EfXRE4W+KaeUf2iNVgkOTUMTR7yQBhuhQ6wFMD6+LatWXExlTG2suBNXscBpRKANKGq YNwJxm5CULkHiX2Wd3u2MueW7b3+/3N4yekYQRt2dm+4ichvJqLzTt5s5LQjBBjOeotE bNdOHLbVMemN5UWEZlYATo1dbmRSMh5dUKrdqJKtNHIU7ILV/3d8xUkqI2gJ4hSUf5Y7 LjSOzgyVmvZlki6ywt4MGkjFVsk7n6gGyPq92fErLjlY9a+mtVVX1SaXIWcE+9lQoGe4 jnfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=DATBD+bfVSJYi0EGGsuGsSQSPfajgrHRQrhVJaxnXeI=; b=qW1ZahvgzXISwzAh5LbDH+6tAhUQtgChGKZctwH74LbIoLPVbyTCo/tfbg348a1Z8v jaWRew+jQDkIIORBiWXW8xxuIAxiz60HQLYec2qxv28jVr3dBSwtV0Kmo+Q854cWKVBh 1mNYjp5xe1xLt7OllmQ7knUVDPk7uo0oQiTA98rpbbUlhfR6+Q88z65R8vyXBt/v3puD 2AXF6RIP+Tl86ocma+ZIN+nc0n9UjueHlgc7sV3FIFFMsFGHsXLLFi/sl7QnFN5Kp2U+ 10taBEkFRJpPW5XuIQJI24kzpuw5l3Hppm5Gj5U83rsIqdLLkGL+LHtMlBQ0CezqSxEe 2moQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WWP1iw6b; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w124-v6si17479972pfw.201.2018.06.19.08.12.47; Tue, 19 Jun 2018 08:12:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WWP1iw6b; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S966706AbeFSPMp (ORCPT <rfc822;ruslan.trofymenko@linaro.org> + 30 others); Tue, 19 Jun 2018 11:12:45 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:51498 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966469AbeFSPMT (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 19 Jun 2018 11:12:19 -0400 Received: by mail-wm0-f66.google.com with SMTP id r15-v6so1006572wmc.1 for <linux-kernel@vger.kernel.org>; Tue, 19 Jun 2018 08:12:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DATBD+bfVSJYi0EGGsuGsSQSPfajgrHRQrhVJaxnXeI=; b=WWP1iw6bcA5vRuQB2uVMIoRdBRdWfMeGQfOHYRUVfREKn2/Ds4oplYrf392YjvpkGO NS/J/9E2rFA6TXLjVlHE+QgoDEwuJhZbG9Ci+ygJiLX/pmcmx+3oiKBjp3kb7BavC3ZG mu//NKSqon8sPI57P8mO8caTlHFjE0KaWdeRM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DATBD+bfVSJYi0EGGsuGsSQSPfajgrHRQrhVJaxnXeI=; b=gbSXT6ryS9nR3irjtE0iFdmhRQZM8YXfbXeIooDmqX8AKpwSkm8vzXT7+r2fU7DbH8 yICCk4WDIB6K4paehUQQUP60EQz5kKMRE5/b0gi+hdhPFzdqH1+enPT1DXQkMmbb85qJ 5CnfVaHjuM53Y66hjEzHst9euSK4xRZ0H6G+FqyCRpbd3UtX6wGIAOp1lYOJKqwxtHoA buu2DuNdLpNuy4mXS+sTcAhGsGWHjMyvtligYe/wrJHtmZEgNQdMWZ8UXNp5kqSYAmQ0 90wwwNbYE1PvQ5C8Yil4UqQ92u/0BgsPsYfD1D6bKuahmTtXucpU9kL+D6HNbzo1lb9u bx2A== X-Gm-Message-State: APt69E1tLl39ZXr2iRRX3/ENSL2r43/K/lDC9niuNYP+CEIhX3CNyYMG qDE3xq+vfZKDSAPycNucszR/yw== X-Received: by 2002:a1c:30d7:: with SMTP id w206-v6mr11417917wmw.153.1529421138356; Tue, 19 Jun 2018 08:12:18 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id f81-v6sm473599wmh.32.2018.06.19.08.12.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Jun 2018 08:12:17 -0700 (PDT) From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH 3/4] slimbus: messaging: initialize completion correctly Date: Tue, 19 Jun 2018 16:12:04 +0100 Message-Id: <20180619151205.11300-4-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180619151205.11300-1-srinivas.kandagatla@linaro.org> References: <20180619151205.11300-1-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
slimbus: fixes for v4.18
|
expand
|
diff --git a/drivers/slimbus/messaging.c b/drivers/slimbus/messaging.c index 1c57b631031a..e3605ed1c459 100644 --- a/drivers/slimbus/messaging.c +++ b/drivers/slimbus/messaging.c @@ -246,6 +246,7 @@ static void slim_fill_msg(struct slim_val_inf *msg, u32 addr, msg->num_bytes = count; msg->rbuf = rbuf; msg->wbuf = wbuf; + msg->comp = NULL; } /**
slim_val_inf can contain random value from stack, make sure the completion is initialized to NULL while filling the msg. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> --- drivers/slimbus/messaging.c | 1 + 1 file changed, 1 insertion(+) -- 2.16.2