summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sep
diff options
context:
space:
mode:
authorMark Allyn <mark.a.allyn@intel.com>2010-12-10 07:37:48 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-10 10:39:55 -0800
commitbc657f6e9130108651915fe37624e47638c46e0f (patch)
treeee4709266519d35b18bac02d698893dcf882a3d7 /drivers/staging/sep
parente91eb2ff1f713837caebbb86a06974cd4b3e8e46 (diff)
downloadop-kernel-dev-bc657f6e9130108651915fe37624e47638c46e0f.zip
op-kernel-dev-bc657f6e9130108651915fe37624e47638c46e0f.tar.gz
staging: sep: fix comments in sep_get_static_pool_addr_handler
Original comments were inaccurate Signed-off-by: Mark Allyn <mark.a.allyn@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/sep')
-rw-r--r--drivers/staging/sep/sep_driver.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/sep/sep_driver.c b/drivers/staging/sep/sep_driver.c
index 2681fcf0..ac5d569 100644
--- a/drivers/staging/sep/sep_driver.c
+++ b/drivers/staging/sep/sep_driver.c
@@ -2545,10 +2545,8 @@ static int sep_free_dma_tables_and_dcb(struct sep_device *sep, bool isapplet,
/**
* sep_get_static_pool_addr_handler - get static pool address
* @sep: pointer to struct sep_device
- * @arg: parameters from user space application
*
* This function sets the bus and virtual addresses of the static pool
- * and returns the virtual address
*/
static int sep_get_static_pool_addr_handler(struct sep_device *sep)
{
@@ -3036,7 +3034,7 @@ static long sep_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
error = -EPERM; /* Not permitted on new chip */
break;
case SEP_IOCGETSTATICPOOLADDR:
- /* Get the physical and virtual addresses of the static pool */
+ /* Inform the SEP the bus address of the static pool */
error = sep_get_static_pool_addr_handler(sep);
break;
case SEP_IOCENDTRANSACTION:
OpenPOWER on IntegriCloud