[PATCH rtems-libbsd 3/7] sys/kern: Add lockmgr support

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jul 29 05:51:56 UTC 2021


On 28/07/2021 09:58, Chris Johns wrote:
>>> +static void
>>> +assert_lockmgr(const struct lock_object *lock, int what)
>>> +{
>>> +  panic("lockmgr locks do not support assertions");
>>> +}
>> This is neither the RTEMS style nor the FreeBSD style. At some point in time it
>> would be really nice to have a clang-format for RTEMS-specific code.
> What about addinghttps://github.com/freebsd/freebsd-src/blob/main/.clang-format  ?
> 
> [https://reviews.freebsd.org/D20533  ]
> 
> I had not noticed there was a style in rtemsbsd until you started to mention
> this now. Is this the reason for the comment about tabs in the namespace file?

Yes, adding the .clang-format from FreeBSD is a good idea.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list