[0/2] A couple additional patches for atomisp
Message ID | cover.1590866796.git.mchehab+huawei@kernel.org (mailing list archive) |
---|---|
Headers |
Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from <linux-media-owner@vger.kernel.org>) id 1jf79l-00B8iJ-K3; Sat, 30 May 2020 19:28:34 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729314AbgE3TcN (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Sat, 30 May 2020 15:32:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:34406 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729205AbgE3TcM (ORCPT <rfc822;linux-media@vger.kernel.org>); Sat, 30 May 2020 15:32:12 -0400 Received: from mail.kernel.org (ip5f5ad5c5.dynamic.kabel-deutschland.de [95.90.213.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6F9EA207D0; Sat, 30 May 2020 19:32:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590867131; bh=nPPEFTEoPeltOuIbbwGrfLQREdX3vxT8M+MdAaDzvrM=; h=From:To:Cc:Subject:Date:From; b=C5IUTglmakBURX5TJw5/FhNXC2W6mZqbltd3gb+JYUyI0ka0IwmLZMZoeWpgBB2xu Jhr38FdI6lkqtL8QjxbfxLioilUbXOWzfReFG78y6Vi00rm3wm2cAuKmy5dyyNb2OA 2e9x2O3NWi28r3nw4v0oqp/9riirY3hkA3pSKEdA= Received: from mchehab by mail.kernel.org with local (Exim 4.93) (envelope-from <mchehab@kernel.org>) id 1jf7DF-003LJ5-85; Sat, 30 May 2020 21:32:09 +0200 From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> To: Linux Media Mailing List <linux-media@vger.kernel.org> Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>, Jeremy Sowden <jeremy@azazel.net>, Arnd Bergmann <arnd@arndb.de>, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, devel@driverdev.osuosl.org, Sakari Ailus <sakari.ailus@linux.intel.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org> Subject: [PATCH 0/2] A couple additional patches for atomisp Date: Sat, 30 May 2020 21:32:06 +0200 Message-Id: <cover.1590866796.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -3.1 (---) X-LSpam-Report: No, score=-3.1 required=5.0 tests=BAYES_00=-1.9,DKIMWL_WL_HIGH=0.001,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,DKIM_VALID_EF=-0.1,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no |
Message
Mauro Carvalho Chehab
May 30, 2020, 7:32 p.m. UTC
Patch 1 was sent by Arnd already, but, while it improved stack usage with clang, it broke compilation with gcc ;-( Each compiler seems to have different issues with different types of struct initalizers, so we ended needing some discussions in order to find something that would work for both. So, the new version works fine with both compilers. While here, I noticed a file that has nothing but comments. The second patch gets rid of it. Arnd Bergmann (1): staging: media: atomisp: fix stack overflow in init_pipe_defaults() Mauro Carvalho Chehab (1): media: atomisp: get rid of sh_css_pipe.c drivers/staging/media/atomisp/Makefile | 1 - .../media/atomisp/pci/ia_css_frame_public.h | 6 ++--- .../staging/media/atomisp/pci/ia_css_pipe.h | 15 ++++------- .../media/atomisp/pci/ia_css_pipe_public.h | 6 ++--- .../staging/media/atomisp/pci/ia_css_types.h | 6 ++--- .../sdis/common/ia_css_sdis_common_types.h | 9 +++---- .../runtime/binary/interface/ia_css_binary.h | 3 +-- .../pipeline/interface/ia_css_pipeline.h | 3 +-- .../pci/runtime/pipeline/src/pipeline.c | 13 ++++++--- drivers/staging/media/atomisp/pci/sh_css.c | 27 +++++++++++++------ .../staging/media/atomisp/pci/sh_css_pipe.c | 17 ------------ 11 files changed, 46 insertions(+), 60 deletions(-) delete mode 100644 drivers/staging/media/atomisp/pci/sh_css_pipe.c