From patchwork Mon Mar 25 22:03:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 10870159 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0F191186D for ; Mon, 25 Mar 2019 22:03:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EEB4E290B8 for ; Mon, 25 Mar 2019 22:03:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E2A14290E9; Mon, 25 Mar 2019 22:03:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A2A82290B8 for ; Mon, 25 Mar 2019 22:03:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730605AbfCYWDm (ORCPT ); Mon, 25 Mar 2019 18:03:42 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:54884 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729297AbfCYWDm (ORCPT ); Mon, 25 Mar 2019 18:03:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=DCEd9pndkJqN+Z2KGl6O2wjOrX5b+csUxDXYqFfAMW4=; b=cSMtRpY9Cc4h51hBX7+xUqxDJ 3RG9WSvFR13dvAGdtq1MPx03cLw8c7MDRc42yHQjZy7sD4ylzN1wNmhWlAdwIBFoGvq1N7C5oBOUm cdg5HcvNqrM4AtuJ0U/RHe+GJb0a3/tuwNogDheqRXsn5cnv+1vhagPqO4QEr6xk87ec9edzHGklX e7YMBzoFMQO4iZWZ3tAffpUdJBaPi9zCHbqTUgOSaNLRuHFzBB6yP4+17jYYl3p8AzvoNF9q1DjiF +YTWw2yWS+Q+P3wipuP3abisRVrc0Fkv3WfVKrGXKPhVgGhwsAgUBv9OKhz4wo1vFdz0OE7/5hgmq 4s8C57r+w==; Received: from 177.41.113.24.dynamic.adsl.gvt.net.br ([177.41.113.24] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8Xgz-0001YI-ON; Mon, 25 Mar 2019 22:03:41 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1h8Xgw-0001ae-Fs; Mon, 25 Mar 2019 18:03:38 -0400 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , Linux Media Mailing List , Mauro Carvalho Chehab , Hans Verkuil , Stanimir Varbanov , linux-renesas-soc@vger.kernel.org, Andy Gross , =?utf-8?q?Niklas_S=C3=B6derlund?= , David Brown , Hugues Fruchet , linux-arm-msm@vger.kernel.org Subject: [PATCH 0/5] Fix smatch warnings Date: Mon, 25 Mar 2019 18:03:32 -0400 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix smatch warnings on media subsystem. Mauro Carvalho Chehab (5): media: cx2341x: replace badly designed macros media: pwc-ctl: pChoose can't be NULL media: sti/delta: remove uneeded check media: rcar-dma: p_set can't be NULL media: hfi_parser: don't trick gcc with a wrong expected size drivers/media/common/cx2341x.c | 151 +++++++++++------- .../media/platform/qcom/venus/hfi_helper.h | 4 +- drivers/media/platform/rcar-vin/rcar-dma.c | 2 +- drivers/media/platform/sti/delta/delta-ipc.c | 6 +- drivers/media/usb/pwc/pwc-ctrl.c | 17 +- 5 files changed, 107 insertions(+), 73 deletions(-)