login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
10
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-check-in-sys_remap_file_pages.patch added to -mm tree)
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Pierre Ossman <drzeus@...>
To: Alexey Dobriyan <adobriyan@...>
Cc: Al Viro <viro@...>, <linux-kernel@...>, <davej@...>, <akpm@...>, <linux-sparse@...>, Alex Dubov <oakad@...>
Subject:
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-check-in-sys_remap_file_pages.patch added to -mm tree)
Date: Wednesday, October 10, 2007 - 2:22 pm
On Wed, 10 Oct 2007 14:45:40 +0400 Alexey Dobriyan <adobriyan@sw.ru> wrote:
quoted text
> ["if (!x & y)" patch from yanzheng@] > ["if (!x & y)" patch from adobriyan@] > ["if (!x & y)" patches from viro@] >=20 > While we're at it, below is somewhat ugly sparse patch for detecting > "&& 0x" typos. >=20
The maintainer for tifm is Alex Dubov, so cc:ing him.
quoted text
> drivers/mmc/host/tifm_sd.c:183:9: warning: dubious && 0x >=20 > if ((r_data->flags & MMC_DATA_WRITE) > && DATA_CARRY) > writel(host->bounce_buf_data[0], > host->dev->addr > + SOCK_MMCSD_DATA); >=20 > given that DATA_CARRY is always used together with > ->cmd_flags, this place is asking for obvious fixlet: >=20 >=20 > [PATCH] tifm_sd.c: fix DATA_CARRY check >=20 > Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru> > --- >=20 > drivers/mmc/host/tifm_sd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > --- a/drivers/mmc/host/tifm_sd.c > +++ b/drivers/mmc/host/tifm_sd.c > @@ -180,7 +180,7 @@ static void tifm_sd_transfer_data(struct tifm_sd > *host) host->sg_pos++; > if (host->sg_pos =3D=3D host->sg_len) { > if ((r_data->flags & MMC_DATA_WRITE) > - && DATA_CARRY) > + && (host->cmd_flags & > DATA_CARRY)) writel(host->bounce_buf_data[0], > host->dev->addr > + SOCK_MMCSD_DATA); >=20 >=20 >=20
Rgds Pierre
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-check-in-...
, Alexey Dobriyan
, (Wed Oct 10, 6:45 am)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-check...
, Pierre Ossman
, (Wed Oct 10, 2:22 pm)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-check...
, Alex Dubov
, (Thu Oct 11, 9:57 am)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-check...
, Morten Welinder
, (Wed Oct 10, 9:35 am)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-check...
, Josh Triplett
, (Wed Oct 10, 2:08 pm)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-check...
, Pavel Roskin
, (Wed Oct 10, 3:02 pm)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-check...
, Josh Triplett
, (Wed Oct 10, 7:45 am)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-check...
, Alexey Dobriyan
, (Thu Oct 11, 3:35 am)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-check...
, Josh Triplett
, (Thu Oct 11, 12:27 pm)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-check...
, Kyle Moffett
, (Thu Oct 11, 5:00 am)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-check...
, Andreas Schwab
, (Wed Oct 10, 7:23 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
David Newall
Re: Slow DOWN, please!!!
Peter Zijlstra
[PATCH 00/23] per device dirty throttling -v8
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
git
:
Colocation donated by:
Who's online
There are currently
1 user
and
655 guests
online.
Online users
roundthejollyro
Syndicate