Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp5783943rwb; Tue, 17 Jan 2023 19:07:14 -0800 (PST) X-Google-Smtp-Source: AMrXdXuqzthCFeUB/B2EnNli0rgMyU76WIieCQSjAylIsFwBqzdPs/FmXilIZHij1U5GyV4ZycaR X-Received: by 2002:a17:906:9417:b0:86c:f7ac:71ff with SMTP id q23-20020a170906941700b0086cf7ac71ffmr5441265ejx.10.1674011234576; Tue, 17 Jan 2023 19:07:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674011234; cv=none; d=google.com; s=arc-20160816; b=fKhtN3g62p1ieMyw7YFyeuIfl3ZMTy8gtSqADjlP/MdItX4Y5tYwXK1Td0C66WfrzQ JZ6t6fdzoxpgIpVEkxw8uZmR5KlypBRcXtsrdGMbV9Cq+KiVPRONL0tZuRbD/LQ+NSpl kXWBF8ONl90mfEcRPNGT9C/l3+x+1YSqe/ZV2UfRTaw6OjPrm4zD/Pc7zJ8CrCV8Stu5 UU+3cPJg63+ejxKixpj1zZ7Vc1Px69F/z/8euhSIa74/MP28Hg26nyj8CAO4aqTHejGA KTSm6uOk7W0Drp3Jko+9IlT/6vcea7hYlndoF5RgpJFzSN7o6kilCDqq3f6rLdJ7Cm6Z TeoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ccs2uNmfL4XWxTk6Uww2FXDm1/IOKWoamNzZVTFZBqg=; b=a0Tc2iL62aguuE+h1NueRGBVtjvcNX6tha7NfavxgmfWxg07VshJSaCsGxSrnvO8LN pR70ZPTiWkHPnK+brBv634csNcyI/fXCqRJgX6O/Z4VC5jU1Sm/y5zkcjSmkGnOpZ1Gz PTw2DXv9YoIUsfLohVAPqqD1eW5+xUYSCGJJBG0HA4DLGj76R+srNN8wmmK3qf0W7GfI snT76vT4iXonqF/mUm8oG0gwljMy2EcT05CN122FyKaIo6JwEVwS/ziCD5K8GAZB9tkK HvsXXnXNKLkxVPXSf5EhDQDUSjh27mRttn18b6dzKjmkrSC+kmMPOjmthMSVm3CRf5n7 iPgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=q0tgw2Z3; 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 xd9-20020a170907078900b007c16107b16bsi24888120ejb.432.2023.01.17.19.07.03; Tue, 17 Jan 2023 19:07:14 -0800 (PST) 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=q0tgw2Z3; 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 S229791AbjARCGt (ORCPT + 46 others); Tue, 17 Jan 2023 21:06:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbjARCGi (ORCPT ); Tue, 17 Jan 2023 21:06:38 -0500 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8932F470A4 for ; Tue, 17 Jan 2023 18:06:35 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id qx13so21451475ejb.13 for ; Tue, 17 Jan 2023 18:06:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ccs2uNmfL4XWxTk6Uww2FXDm1/IOKWoamNzZVTFZBqg=; b=q0tgw2Z3ChWeUnJns+bg5UgV2wpIPe+4eymySGOiHe2x8bWtkliFGdMYtXQaWkZswx S3EMetxLLkpwji26+bXSC2li2MMmLZhSH9wmSbHRXNqEok04ZvgGq+CvARGESzELQUXx U3oU4cYAXc3PUHbIMsQJIdkyb2+EkKaBW20XfCBmjJSJUcCqXq3GJl27GlKFBfe7Nte2 njxKegVK7aDJrdvorZauNZ2IZfj1Om09bcscX3FtlzAoQhsrv7Qm1PR/CEifaH5ytcee It51XGWjj2V689CLcxbjyPHfvozsVm0TqPha4rthQO0rrmbiEmxnmt0KR+U/z5DdaryE +2UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ccs2uNmfL4XWxTk6Uww2FXDm1/IOKWoamNzZVTFZBqg=; b=LV1MoUK/369adDiF81aK1wDB2/vvz2hj5CGAzBSE49d4P00qgo9opkIRTuByKwB6xR Yb6eFhiNV2JVmQhYgtM3GkAVKHHr8dsji0wlIoAQpzLOgOxCykAnnrrpf1SVU0EKwWzn R99qtLw9G3if1+kaan28OJRj6kMuiMH971NxSLqa5awHRwSvKWLoIWSEt20VfdVLc7fD GWkGHeKMAA16TD5I67YdZqZZEvV+LdOY1OEQtBW2w+s7OJieRkhuUIn/EOXD/VM9fZX2 QjnpH76lmtz9cwTc8U5pzCqTixGU8SGivy7QiY4H7mSHWbmSwS9R7KSSy0E2rf3NO1tl jcwg== X-Gm-Message-State: AFqh2kpvD9qrByyM094P12Vf5zzRnYIbFuKeznStYmTw+gSLShoJFslh f6sA9pNOJzhdHbn7kYguhup6tg== X-Received: by 2002:a17:907:86a5:b0:870:d4f3:61b3 with SMTP id qa37-20020a17090786a500b00870d4f361b3mr6574435ejc.12.1674007594143; Tue, 17 Jan 2023 18:06:34 -0800 (PST) Received: from eriador.lan (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id kx1-20020a170907774100b0084d368b1628sm12702694ejc.40.2023.01.17.18.06.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 18:06:33 -0800 (PST) From: Dmitry Baryshkov To: d-gole@ti.com, Jiasheng Jiang Cc: robdclark@gmail.com, quic_abhinavk@quicinc.com, sean@poorly.run, airlied@gmail.com, daniel@ffwll.ch, marijn.suijten@somainline.org, vkoul@kernel.org, dianders@chromium.org, marex@denx.de, vladimir.lypak@gmail.com, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] drm/msm/dsi: Add missing check for alloc_ordered_workqueue Date: Wed, 18 Jan 2023 04:06:15 +0200 Message-Id: <167400670539.1683873.10074210279726951946.b4-ty@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230110021651.12770-1-jiasheng@iscas.ac.cn> References: <20230110021651.12770-1-jiasheng@iscas.ac.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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 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 On Tue, 10 Jan 2023 10:16:51 +0800, Jiasheng Jiang wrote: > Add check for the return value of alloc_ordered_workqueue as it may return > NULL pointer and cause NULL pointer dereference. > > Applied, thanks! [1/1] drm/msm/dsi: Add missing check for alloc_ordered_workqueue https://gitlab.freedesktop.org/lumag/msm/-/commit/e5237cd6ad68 Best regards, -- Dmitry Baryshkov