login
Login
/
Register
Search
Search this site:
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
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Pierre Ossman
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 - 11:22 am
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-i ...
, Alexey Dobriyan
, (Wed Oct 10, 3:45 am)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-che ...
, Andreas Schwab
, (Wed Oct 10, 4:23 am)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-che ...
, Josh Triplett
, (Wed Oct 10, 4:45 am)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-che ...
, Morten Welinder
, (Wed Oct 10, 6:35 am)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-che ...
, Josh Triplett
, (Wed Oct 10, 11:08 am)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-che ...
, Pierre Ossman
, (Wed Oct 10, 11:22 am)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-che ...
, Pavel Roskin
, (Wed Oct 10, 12:02 pm)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-che ...
, Alexey Dobriyan
, (Thu Oct 11, 12:35 am)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-che ...
, Kyle Moffett
, (Thu Oct 11, 2:00 am)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-che ...
, Alex Dubov
, (Thu Oct 11, 6:57 am)
Re: idio{,ma}tic typos (was Re: + fix-vm_can_nonlinear-che ...
, Josh Triplett
, (Thu Oct 11, 9:27 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Eric Sandeen
Re: [PATCH] xfs: do not pass unused params to xfs_flush_pages
Daniel Hazelton
Re: x86: 4kstacks default
Rusty Russell
Re: 2.6.22-rc3-mm1
Jeffrey V. Merkey
Re: Versioning file system
Matt Mackall
Re: [RFD] Documentation/HOWTO translated into Japanese
linux-netdev
:
gregkh
Patch "IPv6: keep route for tentative address" has been added to the 2.6.34-stable...
Patrick McHardy
Re: [rfc 02/13] [RFC 02/13] netfilter: nf_conntrack_sip: Add callid parser
Krzysztof Oledzki
Re: Error: an inet prefix is expected rather than "0/0".
Paul Gortmaker
[PATCH net-next 09/16] tipc: Relocate trivial link status functions to header file
webmaster Maintenance
&#32852;&#31995;&#31995;&#32479;&#31649;&#29702;&#21592;
git
:
Johannes Schindelin
[PATCH] fetch: refuse to fetch into the current branch in a non-bare repository
Junio C Hamano
Re: [PATCH] http-push: making HTTP push more robust and more user-friendly
Oliver Kullmann
Re: how to move with history?
Alex Riesen
Re: git exclude patterns for directory
Andreas Ericsson
Re: why not TortoiseGit
openbsd-misc
:
Damien Miller
Re: Patching a SSH 'Weakness'
Stuart Henderson
Re: Apache Seg Fault after upgrade to 4.6 stable
Úlfar M. E. Johnson
installing openbsd in xen
Brian
CARP multicast and ADSL bridge
Eric Furman
Re: Defending OpenBSD Performance
git-commits-head
:
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
Staging: et131x: prune all the debug code
Linux Kernel Mailing List
PCI: introduce pci_pcie_cap()
Linux Kernel Mailing List
USB: g_multi: Multifunction Composite Gadget added
Colocation donated by:
Syndicate