FreeBSD Bugzilla – Attachment 229406 Details for
Bug 252907
[patch] misc/dahdi-kmod and misc/dahdi-kmod26 need -Wmisleading-indentation removed.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Complete fix for dahdi-kmod
dahdi-kmod.patch (text/plain), 759 bytes, created by
Dmitry Marakasov
on 2021-11-10 11:29:40 UTC
(
hide
)
Description:
Complete fix for dahdi-kmod
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2021-11-10 11:29:40 UTC
Size:
759 bytes
patch
obsolete
>diff --git misc/dahdi-kmod/files/patch-include_dahdi_compat_bsd.h misc/dahdi-kmod/files/patch-include_dahdi_compat_bsd.h >new file mode 100644 >index 000000000000..cfbfa5706e38 >--- /dev/null >+++ misc/dahdi-kmod/files/patch-include_dahdi_compat_bsd.h >@@ -0,0 +1,11 @@ >+--- freebsd/include/dahdi/compat/bsd.h.orig 2010-09-02 09:16:05 UTC >++++ freebsd/include/dahdi/compat/bsd.h >+@@ -218,7 +218,7 @@ typedef struct sx rwlock_t; >+ #define DEFINE_RWLOCK(name) \ >+ struct sx name; \ >+ SX_SYSINIT(name, &name, #name) >+-#define rwlock_init(rwlock) sx_init_flags(rwlock, "DAHDI rwlock", SX_NOADAPTIVE) >++#define rwlock_init(rwlock) sx_init(rwlock, "DAHDI rwlock") >+ #define read_lock(rwlock) sx_slock(rwlock) >+ #define read_unlock(rwlock) sx_sunlock(rwlock) >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 252907
:
221805
|
221906
|
221907
|
229202
|
229205
| 229406