Re: [PATCH] virtio: make find_vqs() checkpatch.pl-friendly

2015-12-28 Thread Bjorn Andersson
On Thu 17 Dec 00:53 PST 2015, Stefan Hajnoczi wrote: > checkpatch.pl wants arrays of strings declared as follows: > > static const char * const names[] = { "vq-1", "vq-2", "vq-3" }; > > Currently the find_vqs() function takes a const char *names[] argument > so passing checkpatch.pl's const ch

[PATCH] virtio: make find_vqs() checkpatch.pl-friendly

2015-12-17 Thread Stefan Hajnoczi
checkpatch.pl wants arrays of strings declared as follows: static const char * const names[] = { "vq-1", "vq-2", "vq-3" }; Currently the find_vqs() function takes a const char *names[] argument so passing checkpatch.pl's const char * const names[] results in a compiler error due to losing the s