Re: [PATCH 4/5] rtl8712: replace min with min_t

2012-12-10 Thread Przemo Firszt
Dnia 2012-12-11, wto o godzinie 01:49 +0300, Dan Carpenter pisze: [..] > At the end iwe.u.data.length is going to be a number between 0 and > 32. That can easily fit in 16 bits no problem. > > The difference is that, imagine ->network.Ssid.SsidLength is larger > than u16 like 0x10001. The cast t

Re: [PATCH 4/5] rtl8712: replace min with min_t

2012-12-10 Thread Dan Carpenter
On Mon, Dec 10, 2012 at 10:21:52PM +, Przemo Firszt wrote: > Dnia 2012-12-10, pon o godzinie 12:41 +0300, Dan Carpenter pisze: > > On Sun, Dec 09, 2012 at 10:15:09AM +, Przemo Firszt wrote: > > > A clean up change suggested by checkpatch.pl > > > > > > Signed-off-by: Przemo Firszt > > > -

Re: [PATCH 4/5] rtl8712: replace min with min_t

2012-12-10 Thread Przemo Firszt
Dnia 2012-12-10, pon o godzinie 12:41 +0300, Dan Carpenter pisze: > On Sun, Dec 09, 2012 at 10:15:09AM +, Przemo Firszt wrote: > > A clean up change suggested by checkpatch.pl > > > > Signed-off-by: Przemo Firszt > > --- > > drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 6 ++ > > 1 fil

Re: [PATCH 4/5] rtl8712: replace min with min_t

2012-12-10 Thread Dan Carpenter
On Sun, Dec 09, 2012 at 10:15:09AM +, Przemo Firszt wrote: > A clean up change suggested by checkpatch.pl > > Signed-off-by: Przemo Firszt > --- > drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git a/drivers/staging/rtl

[PATCH 4/5] rtl8712: replace min with min_t

2012-12-09 Thread Przemo Firszt
A clean up change suggested by checkpatch.pl Signed-off-by: Przemo Firszt --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c ind