Skip to content

Commit 19d5c35

Browse files
Rick Farringtondavem330
authored andcommitted
liquidio: cleanup: removed cryptic and misleading macro
Signed-off-by: Rick Farrington <[email protected]> Signed-off-by: Felix Manlunas <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ade0a79 commit 19d5c35

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/net/ethernet/cavium/liquidio/octeon_console.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ module_param(console_bitmask, int, 0644);
4242
MODULE_PARM_DESC(console_bitmask,
4343
"Bitmask indicating which consoles have debug output redirected to syslog.");
4444

45-
#define CAST_ULL(v) ((u64)(v))
46-
4745
#define BOOTLOADER_PCI_READ_BUFFER_DATA_ADDR 0x0006c008
4846
#define BOOTLOADER_PCI_READ_BUFFER_LEN_ADDR 0x0006c004
4947
#define BOOTLOADER_PCI_READ_BUFFER_OWNER_ADDR 0x0006c000
@@ -233,7 +231,7 @@ static int __cvmx_bootmem_check_version(struct octeon_device *oct,
233231
(exact_match && major_version != exact_match)) {
234232
dev_err(&oct->pci_dev->dev, "bootmem ver mismatch %d.%d addr:0x%llx\n",
235233
major_version, minor_version,
236-
CAST_ULL(oct->bootmem_desc_addr));
234+
(long long)oct->bootmem_desc_addr);
237235
return -1;
238236
} else {
239237
return 0;

0 commit comments

Comments
 (0)