diff options
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/core.h | 3 | ||||
-rw-r--r-- | include/sound/wavefront.h | 36 |
2 files changed, 19 insertions, 20 deletions
diff --git a/include/sound/core.h b/include/sound/core.h index 90ac6132ea3b..3093e3ddcf36 100644 --- a/include/sound/core.h +++ b/include/sound/core.h | |||
@@ -317,7 +317,7 @@ void snd_verbose_printd(const char *file, int line, const char *format, ...) | |||
317 | #ifdef CONFIG_SND_VERBOSE_PRINTK | 317 | #ifdef CONFIG_SND_VERBOSE_PRINTK |
318 | /** | 318 | /** |
319 | * snd_printd - debug printk | 319 | * snd_printd - debug printk |
320 | * @format: format string | 320 | * @fmt: format string |
321 | * | 321 | * |
322 | * Compiled only when Works like snd_printk() for debugging purpose. | 322 | * Compiled only when Works like snd_printk() for debugging purpose. |
323 | * Ignored when CONFIG_SND_DEBUG is not set. | 323 | * Ignored when CONFIG_SND_DEBUG is not set. |
@@ -331,7 +331,6 @@ void snd_verbose_printd(const char *file, int line, const char *format, ...) | |||
331 | /** | 331 | /** |
332 | * snd_assert - run-time assertion macro | 332 | * snd_assert - run-time assertion macro |
333 | * @expr: expression | 333 | * @expr: expression |
334 | * @args...: the action | ||
335 | * | 334 | * |
336 | * This macro checks the expression in run-time and invokes the commands | 335 | * This macro checks the expression in run-time and invokes the commands |
337 | * given in the rest arguments if the assertion is failed. | 336 | * given in the rest arguments if the assertion is failed. |
diff --git a/include/sound/wavefront.h b/include/sound/wavefront.h index 9e572aed2435..15d82e594b56 100644 --- a/include/sound/wavefront.h +++ b/include/sound/wavefront.h | |||
@@ -454,22 +454,22 @@ typedef struct wf_multisample { | |||
454 | } wavefront_multisample; | 454 | } wavefront_multisample; |
455 | 455 | ||
456 | typedef struct wf_alias { | 456 | typedef struct wf_alias { |
457 | s16 OriginalSample __attribute__ ((packed)); | 457 | s16 OriginalSample; |
458 | 458 | ||
459 | struct wf_sample_offset sampleStartOffset __attribute__ ((packed)); | 459 | struct wf_sample_offset sampleStartOffset; |
460 | struct wf_sample_offset loopStartOffset __attribute__ ((packed)); | 460 | struct wf_sample_offset loopStartOffset; |
461 | struct wf_sample_offset sampleEndOffset __attribute__ ((packed)); | 461 | struct wf_sample_offset sampleEndOffset; |
462 | struct wf_sample_offset loopEndOffset __attribute__ ((packed)); | 462 | struct wf_sample_offset loopEndOffset; |
463 | 463 | ||
464 | s16 FrequencyBias __attribute__ ((packed)); | 464 | s16 FrequencyBias; |
465 | 465 | ||
466 | u8 SampleResolution:2 __attribute__ ((packed)); | 466 | u8 SampleResolution:2; |
467 | u8 Unused1:1 __attribute__ ((packed)); | 467 | u8 Unused1:1; |
468 | u8 Loop:1 __attribute__ ((packed)); | 468 | u8 Loop:1; |
469 | u8 Bidirectional:1 __attribute__ ((packed)); | 469 | u8 Bidirectional:1; |
470 | u8 Unused2:1 __attribute__ ((packed)); | 470 | u8 Unused2:1; |
471 | u8 Reverse:1 __attribute__ ((packed)); | 471 | u8 Reverse:1; |
472 | u8 Unused3:1 __attribute__ ((packed)); | 472 | u8 Unused3:1; |
473 | 473 | ||
474 | /* This structure is meant to be padded only to 16 bits on their | 474 | /* This structure is meant to be padded only to 16 bits on their |
475 | original. Of course, whoever wrote their documentation didn't | 475 | original. Of course, whoever wrote their documentation didn't |
@@ -480,8 +480,8 @@ typedef struct wf_alias { | |||
480 | standard 16->32 bit issues. | 480 | standard 16->32 bit issues. |
481 | */ | 481 | */ |
482 | 482 | ||
483 | u8 sixteen_bit_padding __attribute__ ((packed)); | 483 | u8 sixteen_bit_padding; |
484 | } wavefront_alias; | 484 | } __attribute__((packed)) wavefront_alias; |
485 | 485 | ||
486 | typedef struct wf_drum { | 486 | typedef struct wf_drum { |
487 | u8 PatchNumber; | 487 | u8 PatchNumber; |