From: Hannes Reinecke <hare@suse.de>
To: James Bottomley <jbottomley@parallels.com>
Cc: Michael Christie <michaelc@cs.wisc.edu>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
Jeremy Linton <jlinton@tributary.com>,
Robert Elliott <Elliott@hp.com>,
Bart Van Assche <bvanassche@acm.org>
Subject: Re: [PATCH 3/4] scsi: use 64-bit value for 'max_luns'
Date: Wed, 20 Feb 2013 07:43:57 +0100 [thread overview]
Message-ID: <512470AD.8020307@suse.de> (raw)
In-Reply-To: <1361291625.2382.54.camel@dabdike.int.hansenpartnership.com>
On 02/19/2013 05:33 PM, James Bottomley wrote:
> On Tue, 2013-02-19 at 10:30 -0600, Michael Christie wrote:
>> On Feb 19, 2013, at 2:18 AM, Hannes Reinecke <hare@suse.de> wrote:
>>
>>> diff --git a/drivers/scsi/cxgbi/libcxgbi.c b/drivers/scsi/cxgbi/libcxgbi.c
>>> index b44c1cf..95105c0 100644
>>> --- a/drivers/scsi/cxgbi/libcxgbi.c
>>> +++ b/drivers/scsi/cxgbi/libcxgbi.c
>>> @@ -245,7 +245,7 @@ void cxgbi_hbas_remove(struct cxgbi_device *cdev)
>>> }
>>> EXPORT_SYMBOL_GPL(cxgbi_hbas_remove);
>>>
>>> -int cxgbi_hbas_add(struct cxgbi_device *cdev, unsigned int max_lun,
>>> +int cxgbi_hbas_add(struct cxgbi_device *cdev, uint64_t max_lun,
>>> unsigned int max_id, struct scsi_host_template *sht,
>>> struct scsi_transport_template *stt)
>>> {
>>> diff --git a/drivers/scsi/cxgbi/libcxgbi.h b/drivers/scsi/cxgbi/libcxgbi.h
>>> index 80fa99b..d3b27f8 100644
>>> --- a/drivers/scsi/cxgbi/libcxgbi.h
>>> +++ b/drivers/scsi/cxgbi/libcxgbi.h
>>> @@ -692,7 +692,7 @@ struct cxgbi_device *cxgbi_device_register(unsigned int, unsigned int);
>>> void cxgbi_device_unregister(struct cxgbi_device *);
>>> void cxgbi_device_unregister_all(unsigned int flag);
>>> struct cxgbi_device *cxgbi_device_find_by_lldev(void *);
>>> -int cxgbi_hbas_add(struct cxgbi_device *, unsigned int, unsigned int,
>>> +int cxgbi_hbas_add(struct cxgbi_device *, uint64_t, unsigned int,
>>> struct scsi_host_template *,
>>> struct scsi_transport_template *);
>>> void cxgbi_hbas_remove(struct cxgbi_device *);
>>> diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c
>>> index dfe90ce..9acdb9c 100644
>>
>>
>> Could it be possible to use u64, so it matches the rest of the driver
>> coding style? The rest of the driver uses the u* definitions instead f
>> the uint*_t ones.
>
> In general we should use u64 for kernel internal stuff (which this is).
> uint64_t is supposed to be reserved for user interfaces.
>
Ok. Will fix it up with the next series.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-02-20 6:44 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-19 8:17 [PATCH 0/4] scsi: 64-bit LUN support Hannes Reinecke
2013-02-19 8:18 ` [PATCH 1/4] scsi_scan: Fixup scsilun_to_int() Hannes Reinecke
2013-02-19 8:18 ` [PATCH 2/4] scsi: use 64-bit LUNs Hannes Reinecke
2013-02-25 15:33 ` Steffen Maier
2013-02-25 15:52 ` Hannes Reinecke
2013-02-25 17:08 ` Douglas Gilbert
2013-02-19 8:18 ` [PATCH 3/4] scsi: use 64-bit value for 'max_luns' Hannes Reinecke
2013-02-19 16:30 ` Michael Christie
2013-02-19 16:33 ` James Bottomley
2013-02-20 6:43 ` Hannes Reinecke [this message]
2013-02-19 8:18 ` [PATCH 4/4] scsi: Remove CONFIG_SCSI_MULTI_LUN Hannes Reinecke
2013-02-21 16:15 ` [PATCH 0/4] scsi: 64-bit LUN support Elliott, Robert (Server Storage)
2013-02-21 16:32 ` James Bottomley
2013-02-25 16:02 ` Douglas Gilbert
2013-02-23 9:31 ` Hannes Reinecke
2013-03-26 18:00 ` Chad Dupuis
2013-03-26 19:03 ` Douglas Gilbert
2013-03-27 7:37 ` Hannes Reinecke
2013-03-27 11:58 ` Chad Dupuis
2013-03-29 16:32 ` Tomas Henzl
2013-03-30 16:53 ` Hannes Reinecke
2013-03-31 17:44 ` Tomas Henzl
2013-04-04 10:17 ` Hannes Reinecke
2013-04-05 15:24 ` James Smart
2013-04-08 14:06 ` Hannes Reinecke
2013-04-08 15:37 ` Tomas Henzl
2013-04-09 7:38 ` Hannes Reinecke
2013-04-09 14:27 ` Elliott, Robert (Server Storage)
2013-04-09 14:52 ` Hannes Reinecke
-- strict thread matches above, loose matches on Subject: below --
2013-02-20 13:47 [PATCH v2 " Hannes Reinecke
2013-02-20 13:47 ` [PATCH 3/4] scsi: use 64-bit value for 'max_luns' Hannes Reinecke
2014-06-25 13:27 [PATCHv5 0/4] Support 64-bit LUNs Hannes Reinecke
2014-06-25 13:27 ` [PATCH 3/4] scsi: use 64-bit value for 'max_luns' Hannes Reinecke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=512470AD.8020307@suse.de \
--to=hare@suse.de \
--cc=Elliott@hp.com \
--cc=bvanassche@acm.org \
--cc=jbottomley@parallels.com \
--cc=jlinton@tributary.com \
--cc=linux-scsi@vger.kernel.org \
--cc=michaelc@cs.wisc.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.