lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210611234201.64832-1-rikard.falkeborn@gmail.com>
Date:   Sat, 12 Jun 2021 01:41:59 +0200
From:   Rikard Falkeborn <rikard.falkeborn@...il.com>
To:     Mirela Rabulea <mirela.rabulea@....com>,
        Mauro Carvalho Chehab <mchehab@...nel.org>,
        Shawn Guo <shawnguo@...nel.org>,
        Sascha Hauer <s.hauer@...gutronix.de>
Cc:     NXP Linux Team <linux-imx@....com>,
        Fabio Estevam <festevam@...il.com>,
        linux-media@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-kernel@...r.kernel.org,
        Pengutronix Kernel Team <kernel@...gutronix.de>,
        Rikard Falkeborn <rikard.falkeborn@...il.com>
Subject: [PATCH 0/2] media: imx-jpeg: Constify a few static structs

Constify two structs that are never modified.

The first patch constifies a static v4l2_m2m_ops struct which contains
function pointers.

The second constifies mxc_jpeg_fmt, which contains read-only data. In
order to do that, a number of function arguments, return values and
pointers was made const as well.

Rikard Falkeborn (2):
  media: imx-jpeg: Constify static struct v4l2_m2m_ops
  media: imx-jpeg: Constify static struct mxc_jpeg_fmt

 drivers/media/platform/imx-jpeg/mxc-jpeg.c | 18 +++++++++---------
 drivers/media/platform/imx-jpeg/mxc-jpeg.h | 18 +++++++++---------
 2 files changed, 18 insertions(+), 18 deletions(-)

-- 
2.32.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ