Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1564481
| From | Marcos Paulo de Souza <marcos.souza.org@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH -next] staging: greybus: audio_gb.c: Change uint32_t to u32 |
| Date | 2017-01-22 19:00 +0100 |
| Message-ID | <t2uAO-3K7-29@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Change uint32_t to u32, solved the issue reported by checkpatch.pl:
CHECK: Prefer kernel type 'u32' over 'uint32_t'
+ uint32_t *format, uint32_t *rate, u8 *channels,
CHECK: Prefer kernel type 'u32' over 'uint32_t'
+ uint32_t format, uint32_t rate, u8 channels,
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
---
drivers/staging/greybus/audio_gb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/greybus/audio_gb.c b/drivers/staging/greybus/audio_gb.c
index 42f287d..7884d84 100644
--- a/drivers/staging/greybus/audio_gb.c
+++ b/drivers/staging/greybus/audio_gb.c
@@ -108,7 +108,7 @@ int gb_audio_gb_disable_widget(struct gb_connection *connection,
EXPORT_SYMBOL_GPL(gb_audio_gb_disable_widget);
int gb_audio_gb_get_pcm(struct gb_connection *connection, u16 data_cport,
- uint32_t *format, uint32_t *rate, u8 *channels,
+ u32 *format, u32 *rate, u8 *channels,
u8 *sig_bits)
{
struct gb_audio_get_pcm_request req;
@@ -132,7 +132,7 @@ int gb_audio_gb_get_pcm(struct gb_connection *connection, u16 data_cport,
EXPORT_SYMBOL_GPL(gb_audio_gb_get_pcm);
int gb_audio_gb_set_pcm(struct gb_connection *connection, u16 data_cport,
- uint32_t format, uint32_t rate, u8 channels,
+ u32 format, u32 rate, u8 channels,
u8 sig_bits)
{
struct gb_audio_set_pcm_request req;
--
2.9.3
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH -next] staging: greybus: audio_gb.c: Change uint32_t to u32 Marcos Paulo de Souza <marcos.souza.org@gmail.com> - 2017-01-22 19:00 +0100 Re: [PATCH -next] staging: greybus: audio_gb.c: Change uint32_t to u32 Mark Greer <mgreer@animalcreek.com> - 2017-01-22 20:20 +0100 Re: [PATCH -next] staging: greybus: audio_gb.c: Change uint32_t to u32 Vaibhav Agarwal <vaibhav.sr@gmail.com> - 2017-01-23 07:20 +0100
csiph-web