Skip to content

Commit c8aacc3

Browse files
committed
Merge branch 'ntb-next' of https://github.com/jonmason/ntb.git
2 parents 33b7bbd + 9341b37 commit c8aacc3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/ntb/hw/intel/ntb_hw_gen1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ static void ndev_init_debugfs(struct intel_ntb_dev *ndev)
778778
ndev->debugfs_dir =
779779
debugfs_create_dir(pci_name(ndev->ntb.pdev),
780780
debugfs_dir);
781-
if (!ndev->debugfs_dir)
781+
if (IS_ERR(ndev->debugfs_dir))
782782
ndev->debugfs_info = NULL;
783783
else
784784
ndev->debugfs_info =

drivers/ntb/test/ntb_perf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ static ssize_t perf_dbgfs_read_info(struct file *filep, char __user *ubuf,
12271227
"\tOut buffer addr 0x%pK\n", peer->outbuf);
12281228

12291229
pos += scnprintf(buf + pos, buf_size - pos,
1230-
"\tOut buff phys addr %pa[p]\n", &peer->out_phys_addr);
1230+
"\tOut buff phys addr %pap\n", &peer->out_phys_addr);
12311231

12321232
pos += scnprintf(buf + pos, buf_size - pos,
12331233
"\tOut buffer size %pa\n", &peer->outbuf_size);

0 commit comments

Comments
 (0)