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 82A6CC433EF for ; Thu, 18 Nov 2021 13:56:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 58EC361A8C for ; Thu, 18 Nov 2021 13:56:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231834AbhKRN7l (ORCPT ); Thu, 18 Nov 2021 08:59:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231620AbhKRN7l (ORCPT ); Thu, 18 Nov 2021 08:59:41 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 469FFC061570; Thu, 18 Nov 2021 05:56:41 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id c32so26512599lfv.4; Thu, 18 Nov 2021 05:56:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=assU+xqwKMXZXMgvbGwSACpg0iW9I33yDyaJq1bZY78=; b=pwQsB9qgwE9Kf0x0rUv89oWr8bxw8cL/pkheUlX4hKs4P4SkCr0nZr7bOU8/oEi/nr vmk6/SvWfIK7GHAd3J9YkJqp0FpVJ5s2Kd6f89Id573UXmzQKTVm2DW3eHgIWKuRZevx f5ol6GFrfGKQLI1LYEd1uZJVsk2mfd1bXdaKwstEkSUtgPrXZTjg6q1CzSSOezMm4a2H rVWZDgZjVTYYeP2bPeCchXXLMm9FZaXduhG2aC4U3M2qB97jcb73c3r/ZrPJY+varuth Xz2qYNC2rgKJgXScjXJKHicKyKQyaV1Dse0iC2m8y5Lzofq8bo3Ie1m3Eqg6i2cMeDVY pUVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=assU+xqwKMXZXMgvbGwSACpg0iW9I33yDyaJq1bZY78=; b=EhA8wMo5aZzJhdY1GW6nYk5cNDJHp1PGZPeVdVwnULJjoY5FwPrT+FZkihfFTntokn 9hXrQZQ+mVVTHejEIjMlvavw5qOy/F9x3/00sll2axTKlp3MDg5srS/y9r+pvHJpzJqI bF3/yzWIP/w8zcdOPwXrWUTHGy0K1Z0x+3NP9AmC03Nyva0lmFyEh0ZcJaheAH5Ux7PG 3/fTJheu+zYnwpY5ULwWruSdGwyAkLBXnXPsnWpX90K4+cksJ1TVW+zlFG1rWMhIHWTa pK10lw8bCbTX4p9xhOU/JW9cU7fLaHPAf3vUmZSyHSjEz2d46bCsbEgpL9fK05ijPccu Yljw== X-Gm-Message-State: AOAM530zOaZ+zfcDhqeVTM7ErotGWQKnyW0eF79HzsuayglmCLB4IeLQ fr6OJiebbSg57mugUIiqfA5CHDF82Jw= X-Google-Smtp-Source: ABdhPJzywHzBvK2iQnHk9cczmUuenULBkbRAoPkANXhZngz0wNRgO0dK0BdZadLlCL1uZiAffCgFFQ== X-Received: by 2002:a05:6512:3406:: with SMTP id i6mr24720320lfr.262.1637243799281; Thu, 18 Nov 2021 05:56:39 -0800 (PST) Received: from [192.168.2.145] (94-29-48-99.dynamic.spd-mgts.ru. [94.29.48.99]) by smtp.googlemail.com with ESMTPSA id z1sm323667lfu.222.2021.11.18.05.56.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Nov 2021 05:56:38 -0800 (PST) Subject: Re: [PATCH v1 1/3] media: staging: tegra-vde: Support reference picture marking To: Dan Carpenter Cc: Thierry Reding , Jonathan Hunter , Mauro Carvalho Chehab , Greg Kroah-Hartman , Anton Bambura , Hans Verkuil , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org References: <20211114222353.22435-1-digetx@gmail.com> <20211114222353.22435-2-digetx@gmail.com> <42b24cd0-ac37-3cfe-1fb2-d6292015318a@gmail.com> <20211115124402.GE26989@kadam> <20211115154858.GG27562@kadam> <89166c20-6b05-ed4b-ed45-451f4f1e10bc@gmail.com> <20211118061418.GO26989@kadam> From: Dmitry Osipenko Message-ID: Date: Thu, 18 Nov 2021 16:56:38 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211118061418.GO26989@kadam> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org 18.11.2021 09:14, Dan Carpenter пишет: > It's not hard to run Smatch yourself... > > Depending on if you're on a apt distro or yum distro then fetch the > dependencies with one of the follow commands: > apt-get install gcc make sqlite3 libsqlite3-dev libdbd-sqlite3-perl libssl-dev libtry-tiny-perl > yum install gcc make sqlite3 sqlite-devel sqlite perl-DBD-SQLite openssl-devel perl-Try-Tiny > > git clone https://github.com/error27/smatch > cd smatch > make > cd ~/kernel_source/ > ~/smatch/smatch_scripts/kchecker drivers/subsystem/ Thanks, I was running Smatch couple times in the past. Finding how to run Smatch isn't the problem, the thing is that Smatch either isn't packaged by distros or packaged version is outdated, hence there is a need to maintain it by yourself. Also, is it guaranteed that Smatch will always work properly with linux-next? I imagine more developers could start to engage in using Smatch if kernel supported 'make smatch' command which would automate the process of fetching, building and running Smatch. Couldn't the "kernel" version of Smatch reside in the kernel's tools/? Or maybe just the parts of Smatch that are necessary for kernel checking, like kernel's DB/scripts and etc. Doesn't it make sense?