* [PATCH] media: siano: Use 'unsigned int' instead of just 'unsigned'.
@ 2022-09-01 1:16 Jilin Yuan
0 siblings, 0 replies; 3+ messages in thread
From: Jilin Yuan @ 2022-09-01 1:16 UTC (permalink / raw)
To: mchehab; +Cc: linux-media, linux-kernel, Jilin Yuan
'unsigned int' should be clearer than 'unsigned'.
Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
drivers/media/common/siano/smsdvb-debugfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/common/siano/smsdvb-debugfs.c b/drivers/media/common/siano/smsdvb-debugfs.c
index 8916bb644756..a07d3c335d02 100644
--- a/drivers/media/common/siano/smsdvb-debugfs.c
+++ b/drivers/media/common/siano/smsdvb-debugfs.c
@@ -25,7 +25,7 @@ struct smsdvb_debugfs {
spinlock_t lock;
char stats_data[PAGE_SIZE];
- unsigned stats_count;
+ unsigned int stats_count;
bool stats_was_read;
wait_queue_head_t stats_queue;
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] [media] siano: Use 'unsigned int' instead of just 'unsigned'.
@ 2022-09-01 1:15 Jilin Yuan
0 siblings, 0 replies; 3+ messages in thread
From: Jilin Yuan @ 2022-09-01 1:15 UTC (permalink / raw)
To: mchehab; +Cc: linux-media, linux-kernel, Jilin Yuan
'unsigned int' should be clearer than 'unsigned'.
Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
drivers/media/common/siano/sms-cards.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/common/siano/sms-cards.h b/drivers/media/common/siano/sms-cards.h
index 028c5cb435bc..7f2a551bd1a6 100644
--- a/drivers/media/common/siano/sms-cards.h
+++ b/drivers/media/common/siano/sms-cards.h
@@ -85,7 +85,7 @@ struct sms_board {
struct sms_antenna_config_ST *antenna_config;
};
-struct sms_board *sms_get_board(unsigned id);
+struct sms_board *sms_get_board(unsigned int id);
extern struct smscore_device_t *coredev;
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] media: siano: Use 'unsigned int' instead of just 'unsigned'.
@ 2022-09-01 1:13 Jilin Yuan
0 siblings, 0 replies; 3+ messages in thread
From: Jilin Yuan @ 2022-09-01 1:13 UTC (permalink / raw)
To: mchehab; +Cc: linux-media, linux-kernel, Jilin Yuan
'unsigned int' should be clearer than 'unsigned'.
Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
drivers/media/common/siano/sms-cards.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/common/siano/sms-cards.c b/drivers/media/common/siano/sms-cards.c
index d4a116ab6c88..905007275fd6 100644
--- a/drivers/media/common/siano/sms-cards.c
+++ b/drivers/media/common/siano/sms-cards.c
@@ -149,7 +149,7 @@ static struct sms_board sms_boards[] = {
},
};
-struct sms_board *sms_get_board(unsigned id)
+struct sms_board *sms_get_board(unsigned int id)
{
BUG_ON(id >= ARRAY_SIZE(sms_boards));
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-09-01 1:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-01 1:16 [PATCH] media: siano: Use 'unsigned int' instead of just 'unsigned' Jilin Yuan
-- strict thread matches above, loose matches on Subject: below --
2022-09-01 1:15 [PATCH] [media] " Jilin Yuan
2022-09-01 1:13 [PATCH] media: " Jilin Yuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).