Re: [PATCH] advansys: use request_firmware

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthew Wilcox
Date: Monday, July 14, 2008 - 7:50 am

On Sat, Jul 12, 2008 at 10:39:08PM +0530, Jaswinder Singh wrote:

OK, makes sense.


I'm not quite sure whether my question was answered ...

When firmware is built in, does
1) request_firmware() make a copy of it and then release_firmware free
   that copy?
2) request_firmware() return a pointer to the built-in firmware with
   release_firmware() being a no-op?
3) request_firmware() return a pointer to the built-in firmware with
   release_firmware() freeing the original?

Cases 1 and 2 are fine, case 3 is a problem.

By the way:

+Driver: SCSI_ADVANSYS - AdvanSys SCSI
+
+File: advansys/mcode.bin 
+File: advansys/3550.bin 
+File: advansys/38C0800.bin 
+File: advansys/38C1600.bin 
+
+Licence: Allegedly GPLv2+, but no source visible.
+
+Found in hex form in kernel source.

I haven't modified the firmware at all (how could I?  ;-) since the
version in, say, 2.6.20 which was licensed under GPL or BSD.  You could
take the firmware from there under the BSD license without any legal
trouble from me.  IANAL, but this seems correct to me.

-- 
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] advansys: use request_firmware, Jaswinder Singh, (Fri Jul 11, 2:58 am)
Re: [PATCH] advansys: use request_firmware, Matthew Wilcox, (Sat Jul 12, 9:29 am)
Re: [PATCH] advansys: use request_firmware, Jaswinder Singh, (Sat Jul 12, 10:09 am)
Re: [PATCH] advansys: use request_firmware, Matthew Wilcox, (Mon Jul 14, 7:50 am)
Re: [PATCH] advansys: use request_firmware, David Woodhouse, (Mon Jul 14, 7:56 am)
Re: [PATCH] advansys: use request_firmware, Matthew Wilcox, (Mon Jul 14, 8:15 am)
Re: [PATCH] advansys: use request_firmware, David Woodhouse, (Mon Jul 14, 8:22 am)