From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2525C433EF for ; Tue, 12 Oct 2021 01:57:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D6C7D60F12 for ; Tue, 12 Oct 2021 01:57:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231281AbhJLB7M (ORCPT ); Mon, 11 Oct 2021 21:59:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229544AbhJLB7J (ORCPT ); Mon, 11 Oct 2021 21:59:09 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE1BCC061570 for ; Mon, 11 Oct 2021 18:57:08 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id n11so12068123plf.4 for ; Mon, 11 Oct 2021 18:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=8a2/JQmuX57q2aJcf/iLLoukKQpiybtglq5HXNGxygk=; b=PF5vNeMNX9icXXQWUjw/IfVkmeyvFN8puq/1IIkvkghg5Xvth78HKDEiB2/0abuRWD YgylLNMG+Krukn/+gt8Q+0JLMQl8kbW62p/YuHM/DDYZO00e4H9BLLcEojJMsdkbf1GW EnF8hdhlzzKwCB5FeYJsPHzJJxT0j/QJoCS24= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8a2/JQmuX57q2aJcf/iLLoukKQpiybtglq5HXNGxygk=; b=zo9U0KVycfQcL+4bI9fGcu/Ezi5yGj+6+djes15H/ms3EwGcIqaZCaNyqLf9sBAxuK 7OJSknxfo7SkHzlE0QsBWMZAgbsZKs78R/+bFqqrdulA/1SRgg4EZ+wZDCN7UwWgCEaf k/nvJw+c+E+HFlr851eHjw0401XzHUAKneEEc+koMwxy1kPlUZnnkLFFmM1/uuEQGWWL TherdcdU/V/xguWVW0k7P+tj4A1EWmaLGoTIAa7k646lFVb+RI0LRXPmJBMxAU51KwC8 XhQZCu0o6tr9XosrT7XMMrWaKE7ldAYm9lliG7HRgSCm8SibAdP2ju9GPe2q2ST17/3+ o6Hw== X-Gm-Message-State: AOAM531xOkkzB+Lo3cglyOLC+znBrGDMUQvuYIOWm9tq6IPXurhf08fq YgyY2UdIoXvDl7naqitV3GGVvw== X-Google-Smtp-Source: ABdhPJzcFDpZfHc3nRVVa+/bAj0gmaEk7b2C9Ped1tQLsHMJultYAblQyLdBAYeCsoDxNIF9/iTxSw== X-Received: by 2002:a17:90b:4011:: with SMTP id ie17mr2858973pjb.41.1634003828296; Mon, 11 Oct 2021 18:57:08 -0700 (PDT) Received: from google.com ([2409:10:2e40:5100:61aa:8522:1051:5bfe]) by smtp.gmail.com with ESMTPSA id h23sm5850281pfn.109.2021.10.11.18.57.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Oct 2021 18:57:07 -0700 (PDT) Date: Tue, 12 Oct 2021 10:57:03 +0900 From: Sergey Senozhatsky To: Hans Verkuil , Mauro Carvalho Chehab Cc: Tomasz Figa , Sergey Senozhatsky , Marek Szyprowski , Ricardo Ribalda , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: videobuf2: always set buffer vb2 pointer Message-ID: References: <20210928034634.333785-1-senozhatsky@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (21/10/05 18:57), Tomasz Figa wrote: > > On Tue, Sep 28, 2021 at 12:46 PM Sergey Senozhatsky > wrote: > > > > We need to always link allocated vb2_dc_buf back to vb2_buffer because > > we dereference vb2 in prepare() and finish() callbacks. > > > > Signed-off-by: Sergey Senozhatsky > > --- > > drivers/media/common/videobuf2/videobuf2-dma-contig.c | 3 +++ > > 1 file changed, 3 insertions(+) > > > > Acked-by: Tomasz Figa Hans, can you please pick up this patch?