public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PULL 0/1] vfio-ccw: one patch
@ 2017-05-22 14:21 Cornelia Huck
  2017-05-22 14:21 ` [PULL 1/1] s390/vfio_ccw: make some symbols static Cornelia Huck
  2017-05-23  5:37 ` [PULL 0/1] vfio-ccw: one patch Martin Schwidefsky
  0 siblings, 2 replies; 3+ messages in thread
From: Cornelia Huck @ 2017-05-22 14:21 UTC (permalink / raw)
  To: schwidefsky; +Cc: bjsdjshi, linux-s390, kvm, Cornelia Huck

The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6:

  Linux 4.12-rc1 (2017-05-13 13:19:49 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/vfio-ccw.git tags/vfio-ccw-20170522

for you to fetch changes up to 5bf185366bfca4ab7730c607f530188e1591a4c0:

  s390/vfio_ccw: make some symbols static (2017-05-22 15:37:11 +0200)

----------------------------------------------------------------
Make some symbols in vfio-ccw static, as detected by sparse.

----------------------------------------------------------------

Sebastian Ott (1):
  s390/vfio_ccw: make some symbols static

 drivers/s390/cio/vfio_ccw_ops.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

-- 
2.13.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PULL 1/1] s390/vfio_ccw: make some symbols static
  2017-05-22 14:21 [PULL 0/1] vfio-ccw: one patch Cornelia Huck
@ 2017-05-22 14:21 ` Cornelia Huck
  2017-05-23  5:37 ` [PULL 0/1] vfio-ccw: one patch Martin Schwidefsky
  1 sibling, 0 replies; 3+ messages in thread
From: Cornelia Huck @ 2017-05-22 14:21 UTC (permalink / raw)
  To: schwidefsky; +Cc: bjsdjshi, linux-s390, kvm, Sebastian Ott, Cornelia Huck

From: Sebastian Ott <sebott@linux.vnet.ibm.com>

Make some symbols static to fix sparse warnings like:
drivers/s390/cio/vfio_ccw_ops.c:73:1: warning: symbol 'mdev_type_attr_name' was not declared. Should it be static?

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
---
 drivers/s390/cio/vfio_ccw_ops.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/s390/cio/vfio_ccw_ops.c b/drivers/s390/cio/vfio_ccw_ops.c
index e72abbc18ee3..a66a317f3e4f 100644
--- a/drivers/s390/cio/vfio_ccw_ops.c
+++ b/drivers/s390/cio/vfio_ccw_ops.c
@@ -70,14 +70,14 @@ static ssize_t name_show(struct kobject *kobj, struct device *dev, char *buf)
 {
 	return sprintf(buf, "I/O subchannel (Non-QDIO)\n");
 }
-MDEV_TYPE_ATTR_RO(name);
+static MDEV_TYPE_ATTR_RO(name);
 
 static ssize_t device_api_show(struct kobject *kobj, struct device *dev,
 			       char *buf)
 {
 	return sprintf(buf, "%s\n", VFIO_DEVICE_API_CCW_STRING);
 }
-MDEV_TYPE_ATTR_RO(device_api);
+static MDEV_TYPE_ATTR_RO(device_api);
 
 static ssize_t available_instances_show(struct kobject *kobj,
 					struct device *dev, char *buf)
@@ -86,7 +86,7 @@ static ssize_t available_instances_show(struct kobject *kobj,
 
 	return sprintf(buf, "%d\n", atomic_read(&private->avail));
 }
-MDEV_TYPE_ATTR_RO(available_instances);
+static MDEV_TYPE_ATTR_RO(available_instances);
 
 static struct attribute *mdev_types_attrs[] = {
 	&mdev_type_attr_name.attr,
@@ -100,7 +100,7 @@ static struct attribute_group mdev_type_group = {
 	.attrs = mdev_types_attrs,
 };
 
-struct attribute_group *mdev_type_groups[] = {
+static struct attribute_group *mdev_type_groups[] = {
 	&mdev_type_group,
 	NULL,
 };
@@ -152,7 +152,7 @@ static int vfio_ccw_mdev_open(struct mdev_device *mdev)
 				      &events, &private->nb);
 }
 
-void vfio_ccw_mdev_release(struct mdev_device *mdev)
+static void vfio_ccw_mdev_release(struct mdev_device *mdev)
 {
 	struct vfio_ccw_private *private =
 		dev_get_drvdata(mdev_parent_dev(mdev));
@@ -233,7 +233,7 @@ static int vfio_ccw_mdev_get_region_info(struct vfio_region_info *info,
 	}
 }
 
-int vfio_ccw_mdev_get_irq_info(struct vfio_irq_info *info)
+static int vfio_ccw_mdev_get_irq_info(struct vfio_irq_info *info)
 {
 	if (info->index != VFIO_CCW_IO_IRQ_INDEX)
 		return -EINVAL;
-- 
2.13.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PULL 0/1] vfio-ccw: one patch
  2017-05-22 14:21 [PULL 0/1] vfio-ccw: one patch Cornelia Huck
  2017-05-22 14:21 ` [PULL 1/1] s390/vfio_ccw: make some symbols static Cornelia Huck
@ 2017-05-23  5:37 ` Martin Schwidefsky
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Schwidefsky @ 2017-05-23  5:37 UTC (permalink / raw)
  To: Cornelia Huck; +Cc: bjsdjshi, linux-s390, kvm

On Mon, 22 May 2017 16:21:16 +0200
Cornelia Huck <cornelia.huck@de.ibm.com> wrote:

> The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6:
> 
>   Linux 4.12-rc1 (2017-05-13 13:19:49 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/vfio-ccw.git tags/vfio-ccw-20170522
> 
> for you to fetch changes up to 5bf185366bfca4ab7730c607f530188e1591a4c0:
> 
>   s390/vfio_ccw: make some symbols static (2017-05-22 15:37:11 +0200)
> 
> ----------------------------------------------------------------
> Make some symbols in vfio-ccw static, as detected by sparse.
> 
> ----------------------------------------------------------------
> 
> Sebastian Ott (1):
>   s390/vfio_ccw: make some symbols static
> 
>  drivers/s390/cio/vfio_ccw_ops.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 

Merged into linux-s390:fixes. Thanks.

-- 
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-23  5:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-22 14:21 [PULL 0/1] vfio-ccw: one patch Cornelia Huck
2017-05-22 14:21 ` [PULL 1/1] s390/vfio_ccw: make some symbols static Cornelia Huck
2017-05-23  5:37 ` [PULL 0/1] vfio-ccw: one patch Martin Schwidefsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox