aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorAsias He <asias@redhat.com>2012-05-03 10:20:51 +0800
committerRusty Russell <rusty@rustcorp.com.au>2012-05-22 12:16:12 +0930
commit90e03207f468e84258270ad07095ef50f925c17d (patch)
treeb0a32e83e72f07064b9ae7156ec2bdc501734b6d /drivers/i2c/algos/i2c-algo-bit.c
parentvirtio: balloon: separate out common code between remove and freeze functions (diff)
downloadwireguard-linux-90e03207f468e84258270ad07095ef50f925c17d.tar.xz
wireguard-linux-90e03207f468e84258270ad07095ef50f925c17d.zip
virtio: Use ida to allocate virtio index
Current index allocation in virtio is based on a monotonically increasing variable "index". This means we'll run out of numbers after a while. E.g. someone crazy doing this in host side. while(1) { hot-plug a virtio device hot-unplug the virito devcie } Signed-off-by: Asias He <asias@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions