]> git.karo-electronics.de Git - karo-tx-linux.git/commit
include/linux/kernel.h:744:28: note: in expansion of macro 'min'
authorMichal Nazarewicz <mina86@mina86.com>
Thu, 26 Jun 2014 00:42:47 +0000 (10:42 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 26 Jun 2014 00:42:47 +0000 (10:42 +1000)
commit282a576cecf3d1b3d256dc02ecfbdf184572a17e
treed231dad66483d2fe7d666e106e09b3a562895d44
parentfb5eb8a349d0e3c6b5033fb7a9af1fe78677226a
include/linux/kernel.h:744:28: note: in expansion of macro 'min'

On Fri, Jun 20 2014, Fengguang Wu <fengguang.wu@intel.com> wrote:
>>> include/linux/kernel.h:744:28: note: in expansion of macro 'min'
>     #define clamp(val, lo, hi) min(max(val, lo), hi)
>                                ^
>>> drivers/net/ethernet/intel/i40e/i40e_debugfs.c:1901:11: note: in expans=
ion of macro 'clamp'
>       bytes =3D clamp(bytes, (u16)1024, (u16)I40E_MAX_AQ_BUF_SIZE);
>               ^

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/kernel.h