lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTikTxjbkA9d9WjVNm9bC3bPLQDndwSXCxp3jOLKS@mail.gmail.com>
Date:	Tue, 8 Feb 2011 10:29:06 +0000
From:	Will Newton <will.newton@...il.com>
To:	Jaehoon Chung <jh80.chung@...sung.com>
Cc:	Chris Ball <cjb@...top.org>,
	Linux Kernel list <linux-kernel@...r.kernel.org>,
	linux-mmc@...r.kernel.org, Matt Fleming <matt@...sole-pimps.org>,
	linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v4] dw_mmc: Add Synopsys DesignWare mmc host driver.

On Tue, Feb 8, 2011 at 6:38 AM, Jaehoon Chung <jh80.chung@...sung.com> wrote:
> Hi Will..
>
> I need your help for your code..
>
> In dw_mmc.h, exist some function pointer..
>
> int *get_ro(u32 slot_id);
> int *get_cd(u32 slot_id);
> ...
>
> Just only need slot_id??
> If i need the "struct dw_mci", could i append the parameter?

Yes, that should be possible. However I would like to reduce the
number of places the whole struct dw_mci
is passed around if possible, as the whole struct is usually not
needed and it exposes some driver internals.

Which part of struct dw_mci do you need in the callback?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ