[PATCH v2] xen/tmem: use BUILD_BUG_ON() in favor of BUG_ON()

2015-05-28 Thread Jan Beulich
Signed-off-by: Jan Beulich --- drivers/xen/tmem.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- v2: Drop the description at David's request. --- 4.1-rc5/drivers/xen/tmem.c +++ 4.1-rc5-tmem-BUILD_BUG_ON/drivers/xen/tmem.c @@ -395,7 +395,7 @@ static int __init xen_tmem_init(void)

Re: xen/tmem: use BUILD_BUG_ON() in favor of BUG_ON()

2015-05-28 Thread David Vrabel
On 28/05/15 11:53, Jan Beulich wrote: On 28.05.15 at 12:36, wrote: >> On 28/05/15 09:23, Jan Beulich wrote: >>> ... when the checked expression is compile time constant. >> >> Commit messages should be complete sentences, please. > > Do you mean I should repeat the start of the sentence from

Re: xen/tmem: use BUILD_BUG_ON() in favor of BUG_ON()

2015-05-28 Thread Jan Beulich
>>> On 28.05.15 at 12:36, wrote: > On 28/05/15 09:23, Jan Beulich wrote: >> ... when the checked expression is compile time constant. > > Commit messages should be complete sentences, please. Do you mean I should repeat the start of the sentence from the title in the body? Jan -- To unsubscrib

Re: xen/tmem: use BUILD_BUG_ON() in favor of BUG_ON()

2015-05-28 Thread David Vrabel
On 28/05/15 09:23, Jan Beulich wrote: > ... when the checked expression is compile time constant. Commit messages should be complete sentences, please. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More major

xen/tmem: use BUILD_BUG_ON() in favor of BUG_ON()

2015-05-28 Thread Jan Beulich
... when the checked expression is compile time constant. Signed-off-by: Jan Beulich --- drivers/xen/tmem.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 4.1-rc5/drivers/xen/tmem.c +++ 4.1-rc5-tmem-BUILD_BUG_ON/drivers/xen/tmem.c @@ -395,7 +395,7 @@ static int __init xen_tmem_ini