mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 01:34:12 +00:00
clang-format 18.1.6 changes
This isn't in Fedora yet... Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
c8afe3412e
commit
4f8ddca920
2 changed files with 4 additions and 8 deletions
|
@ -201,9 +201,8 @@ struct usb_device_qualifier_descriptor {
|
|||
* string descriptor.
|
||||
*/
|
||||
#define make_usb_string_descriptor(str) \
|
||||
{ \
|
||||
.bLength = sizeof(struct usb_string_descriptor) + sizeof(u##str) - 2, \
|
||||
.bDescriptorType = USB_STRING_DESCRIPTOR, .bString = u##str \
|
||||
}
|
||||
{.bLength = sizeof(struct usb_string_descriptor) + sizeof(u##str) - 2, \
|
||||
.bDescriptorType = USB_STRING_DESCRIPTOR, \
|
||||
.bString = u##str}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -390,10 +390,7 @@ typedef struct {
|
|||
int count;
|
||||
} spinlock_t ALIGNED(SPINLOCK_ALIGN);
|
||||
|
||||
#define SPINLOCK_INIT \
|
||||
{ \
|
||||
-1, 0 \
|
||||
}
|
||||
#define SPINLOCK_INIT {-1, 0}
|
||||
#define DECLARE_SPINLOCK(n) spinlock_t n = SPINLOCK_INIT;
|
||||
|
||||
void spin_init(spinlock_t *lock);
|
||||
|
|
Loading…
Reference in a new issue