[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170822.143510.1048652578169181274.davem@davemloft.net>
Date: Tue, 22 Aug 2017 14:35:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: madalin.bucur@....com
Cc: netdev@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/6] fsl/fman: enable FMan Keygen
From: Madalin Bucur <madalin.bucur@....com>
Date: Tue, 22 Aug 2017 20:31:01 +0300
> /**
> + * fman_get_keygen
> + *
> + * @fman: A Pointer to FMan device
> + *
> + * Get the handle to KeyGen module part of FM driver
> + *
> + * Return: Handle to KeyGen
> + */
> +struct fman_keygen *fman_get_keygen(struct fman *fman)
> +{
> + return fman->keygen;
> +}
> +EXPORT_SYMBOL(fman_get_keygen);
Please don't do this.
Just directly derefence the pointer in the source code to
get the keygen.
Thank you.
Powered by blists - more mailing lists