Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96783
b: refs/heads/master
c: 69f90f6
h: refs/heads/master
i:
  96781: c2d124a
  96779: 3c702d2
  96775: cb4d325
  96767: efe6eac
v: v3
  • Loading branch information
Cornelia Huck authored and Martin Schwidefsky committed May 15, 2008
1 parent 8a53e22 commit 805f643
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c7a8548ffa0a2cf6313fe8b3bb4b4a199a9a080f
refs/heads/master: 69f90f6a5650a74dd8f428e8d2f05859d58da3d7
10 changes: 5 additions & 5 deletions trunk/drivers/s390/block/dasd_devmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ static DEFINE_SPINLOCK(dasd_devmap_lock);
static struct list_head dasd_hashlists[256];
int dasd_max_devindex;

static struct dasd_devmap *dasd_add_busid(char *, int);
static struct dasd_devmap *dasd_add_busid(const char *, int);

static inline int
dasd_hash_busid(char *bus_id)
dasd_hash_busid(const char *bus_id)
{
int hash, i;

Expand Down Expand Up @@ -394,7 +394,7 @@ dasd_parse(void)
* devices.
*/
static struct dasd_devmap *
dasd_add_busid(char *bus_id, int features)
dasd_add_busid(const char *bus_id, int features)
{
struct dasd_devmap *devmap, *new, *tmp;
int hash;
Expand Down Expand Up @@ -430,7 +430,7 @@ dasd_add_busid(char *bus_id, int features)
* Find devmap for device with given bus_id.
*/
static struct dasd_devmap *
dasd_find_busid(char *bus_id)
dasd_find_busid(const char *bus_id)
{
struct dasd_devmap *devmap, *tmp;
int hash;
Expand All @@ -452,7 +452,7 @@ dasd_find_busid(char *bus_id)
* Check if busid has been added to the list of dasd ranges.
*/
int
dasd_busid_known(char *bus_id)
dasd_busid_known(const char *bus_id)
{
return IS_ERR(dasd_find_busid(bus_id)) ? -ENOENT : 0;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/s390/block/dasd_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ struct dasd_device *dasd_device_from_cdev_locked(struct ccw_device *);
struct dasd_device *dasd_device_from_devindex(int);

int dasd_parse(void);
int dasd_busid_known(char *);
int dasd_busid_known(const char *);

/* externals in dasd_gendisk.c */
int dasd_gendisk_init(void);
Expand Down

0 comments on commit 805f643

Please sign in to comment.