Skip to content

Commit 433b308

Browse files
plbossartvinodkoul
authored andcommitted
soundwire: dmi-quirks: add ull suffix for SoundWire _ADR values
Sparse throws the following type of warnings: drivers/soundwire/dmi-quirks.c:25:17: error: constant 0x000010025D070100 is so big it is long Let's add the 'ull' suffix to make this go away and find real issues. Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Paul Olaru <[email protected]> Reviewed-by: Guennadi Liakhovetski <[email protected]> Reviewed-by: Rander Wang <[email protected]> Signed-off-by: Bard Liao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent e73f0f0 commit 433b308

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

drivers/soundwire/dmi-quirks.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ struct adr_remap {
2222
*/
2323
static const struct adr_remap hp_spectre_360[] = {
2424
{
25-
0x000010025D070100,
26-
0x000020025D071100
25+
0x000010025D070100ull,
26+
0x000020025D071100ull
2727
},
2828
{
29-
0x000110025d070100,
30-
0x000120025D130800
29+
0x000110025d070100ull,
30+
0x000120025D130800ull
3131
},
3232
{}
3333
};
@@ -39,18 +39,18 @@ static const struct adr_remap hp_spectre_360[] = {
3939
static const struct adr_remap dell_sku_0A3E[] = {
4040
/* rt715 on link0 */
4141
{
42-
0x00020025d071100,
43-
0x00021025d071500
42+
0x00020025d071100ull,
43+
0x00021025d071500ull
4444
},
4545
/* rt711 on link1 */
4646
{
47-
0x000120025d130800,
48-
0x000120025d071100,
47+
0x000120025d130800ull,
48+
0x000120025d071100ull,
4949
},
5050
/* rt1308 on link2 */
5151
{
52-
0x000220025d071500,
53-
0x000220025d130800
52+
0x000220025d071500ull,
53+
0x000220025d130800ull
5454
},
5555
{}
5656
};

0 commit comments

Comments
 (0)