summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ring.h b/ring.h
index 823e49a..e9f1b18 100644
--- a/ring.h
+++ b/ring.h
@@ -79,7 +79,7 @@ static inline void next_rnd_slot(unsigned int *it, struct ring *ring)
*it = rand() % ring->layout.tp_frame_nr;
}
-static inline size_t ring_size(char *ifname, size_t size)
+static inline size_t ring_size(const char *ifname, size_t size)
{
if (size > 0)
return size;
cgi/linux/net-next.git/diff/net/hsr/hsr_netlink.c?h=nds-private-remove&id=23fbe2cdc1de80120cf9ccd478ac57c3a3a0764b&id2=926af6273fc683cd98cd0ce7bf0d04a02eed6742'>diff)parenteeeefd41843218c55a8782a6920f044d9bf6207a (diff)
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
Pull block fix from Jens Axboe: "A single fix that should go into 4.10, fixing a regression on some devices with the WRITE_SAME command" * 'for-linus' of git://git.kernel.dk/linux-block: block: don't try Write Same from __blkdev_issue_zeroout
Diffstat (limited to 'net/hsr/hsr_netlink.c')