[Xen-devel] [PATCH] console: const-ify the arguments for __warn() and __bug()

2014-12-10 Thread Mihai Donțu
Both __warn() and __bug() take as first parameter the file name of the current compilation unit (__FILE__). Mark that parameter as constant to better reflect that. Signed-off-by: Mihai Donțu Reviewed-by: Andrew Cooper --- xen/drivers/char/console.c | 4 ++-- xen/include/xen/lib.h | 4 ++--

Re: [Xen-devel] [PATCH] console: const-ify the arguments for __warn() and __bug()

2014-12-09 Thread Mihai Donțu
On Monday 08 December 2014 10:28:41 Andrew Cooper wrote: > On 08/12/14 00:19, Mihai Donțu wrote: > > Both __warn() and __bug() take as first parameter the file name of the > > current compilation unit (__FILE__). Mark that parameter as constant to > > better reflect that. > > > > Signed-off-by: Mih

Re: [Xen-devel] [PATCH] console: const-ify the arguments for __warn() and __bug()

2014-12-08 Thread Andrew Cooper
On 08/12/14 00:19, Mihai Donțu wrote: > Both __warn() and __bug() take as first parameter the file name of the > current compilation unit (__FILE__). Mark that parameter as constant to > better reflect that. > > Signed-off-by: Mihai Donțu This seems reasonable, but for 4.6 at this point. Reviewe

[Xen-devel] [PATCH] console: const-ify the arguments for __warn() and __bug()

2014-12-07 Thread Mihai Donțu
Both __warn() and __bug() take as first parameter the file name of the current compilation unit (__FILE__). Mark that parameter as constant to better reflect that. Signed-off-by: Mihai Donțu --- xen/drivers/char/console.c | 4 ++-- xen/include/xen/lib.h | 4 ++-- 2 files changed, 4 insertio