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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b671e4d2-e969-4b9a-a7ff-b3b688689ee8@web.de>
Date: Wed, 2 Oct 2024 10:56:42 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Alex Lanzano <lanzano.alex@...il.com>,
 Mehdi Djait <mehdi.djait@...tlin.com>, dri-devel@...ts.freedesktop.org,
 devicetree@...r.kernel.org, linux-pwm@...r.kernel.org,
 linux-kernel-mentees@...ts.linuxfoundation.org,
 Conor Dooley <conor+dt@...nel.org>, Daniel Vetter <daniel@...ll.ch>,
 David Airlie <airlied@...il.com>,
 Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
 Krzysztof Kozlowski <krzk+dt@...nel.org>,
 Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
 Maxime Ripard <mripard@...nel.org>, Rob Herring <robh@...nel.org>,
 Thomas Zimmermann <tzimmermann@...e.de>,
 Uwe Kleine-König <ukleinek@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
 Christophe Jaillet <christophe.jaillet@...adoo.fr>,
 Shuah Khan <skhan@...uxfoundation.org>,
 Uwe Kleine-König <u.kleine-koenig@...libre.com>
Subject: Re: [PATCH v8 2/2] drm/tiny: Add driver for Sharp Memory LCD

…
> +++ b/drivers/gpu/drm/tiny/sharp-memory.c
> @@ -0,0 +1,681 @@
…
> +static int sharp_memory_maintain_display(struct sharp_memory_device *smd)
> +{
…
> +	u8 *tx_buffer = smd->tx_buffer;
> +
> +	mutex_lock(&smd->tx_mutex);
…
> +	mutex_unlock(&smd->tx_mutex);
> +
> +	return ret;
> +}
…

Will development interests grow for the application of a statement
like “guard(mutex)(&smd->tx_mutex);”?
https://elixir.bootlin.com/linux/v6.12-rc1/source/include/linux/mutex.h#L201

Regards,
Markus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ