Re: [PATCH 08/23] use register_chrdev_ids in drivers/scsi/

From: Jim Cromie
Date: Sat May 21 2011 - 00:21:44 EST


On Fri, May 20, 2011 at 9:42 AM, Boaz Harrosh <bharrosh@xxxxxxxxxxx> wrote:
> On 05/20/2011 12:33 AM, Jim Cromie wrote:
>> cc: Doug Gilbert <dgilbert@xxxxxxxxxxxx>
>> cc: linux-scsi@xxxxxxxxxxxxxxx
>> cc: Benny Halevy <bhalevy@xxxxxxxxxxx>
>> cc: Boaz Harrosh <bharrosh@xxxxxxxxxxx>
>> cc: osd-dev@xxxxxxxxxxxx
>> cc: Anil Ravindranath <anil_ravindranath@xxxxxxxxxxxxxx>
>> cc: linux-scsi@xxxxxxxxxxxxxxx
>> Signed-off-by: Jim Cromie <jim.cromie@xxxxxxxxx>
>> ---
>>  drivers/scsi/osd/osd_uld.c |    6 +++---
>>  drivers/scsi/pmcraid.c     |    3 +--
>>  drivers/scsi/sg.c          |    6 +++---
>>  drivers/scsi/st.c          |    7 +++----
>>  4 files changed, 10 insertions(+), 12 deletions(-)
>
> Do you have a git tree with all these that I can pull
> and test?
>

I do, its at git://github.com/jimc/linux-2.6.git chrdev-pub1 branch

For you, I think there are 3 patches of interest
1 - adds new call, deprecates old.
if you build with this applied and CONFIG_ENABLE_WARN_DEPRECATED=y
you should get a deprecated warning
2 - reimplements alloc_chardev_region() with register_chardev_ids()
your driver may be using register_chardev_region(), if so this is uninteresting.
3 - patch that adapts your scsi parts.

> Thanks
> Boaz
>

no, thank you
Jim Cromie
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/