mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (24 commits) trivial: chack -> check typo fix in main Makefile trivial: Add a space (and a comma) to a printk in 8250 driver trivial: Fix misspelling of "firmware" in docs for ncr53c8xx/sym53c8xx trivial: Fix misspelling of "firmware" in powerpc Makefile trivial: Fix misspelling of "firmware" in usb.c trivial: Fix misspelling of "firmware" in qla1280.c trivial: Fix misspelling of "firmware" in a100u2w.c trivial: Fix misspelling of "firmware" in megaraid.c trivial: Fix misspelling of "firmware" in ql4_mbx.c trivial: Fix misspelling of "firmware" in acpi_memhotplug.c trivial: Fix misspelling of "firmware" in ipw2100.c trivial: Fix misspelling of "firmware" in atmel.c trivial: Fix misspelled firmware in Kconfig trivial: fix an -> a typos in documentation and comments trivial: fix then -> than typos in comments and documentation trivial: update Jesper Juhl CREDITS entry with new email trivial: fix singal -> signal typo trivial: Fix incorrect use of "loose" in event.c trivial: printk: fix indentation of new_text_line declaration trivial: rtc-stk17ta8: fix sparse warning ...
This commit is contained in:
commit
57c44c5f6f
99 changed files with 133 additions and 130 deletions
2
CREDITS
2
CREDITS
|
@ -1681,7 +1681,7 @@ E: ajoshi@shell.unixbox.com
|
|||
D: fbdev hacking
|
||||
|
||||
N: Jesper Juhl
|
||||
E: jesper.juhl@gmail.com
|
||||
E: jj@chaosbits.net
|
||||
D: Various fixes, cleanups and minor features all over the tree.
|
||||
D: Wrote initial version of the hdaps driver (since passed on to others).
|
||||
S: Lemnosvej 1, 3.tv
|
||||
|
|
|
@ -81,8 +81,8 @@ Until this step is completed the driver cannot be unloaded.
|
|||
Also echoing either mono ,packet or init in to image_type will free up the
|
||||
memory allocated by the driver.
|
||||
|
||||
If an user by accident executes steps 1 and 3 above without executing step 2;
|
||||
it will make the /sys/class/firmware/dell_rbu/ entries to disappear.
|
||||
If a user by accident executes steps 1 and 3 above without executing step 2;
|
||||
it will make the /sys/class/firmware/dell_rbu/ entries disappear.
|
||||
The entries can be recreated by doing the following
|
||||
echo init > /sys/devices/platform/dell_rbu/image_type
|
||||
NOTE: echoing init in image_type does not change it original value.
|
||||
|
|
|
@ -74,7 +74,7 @@ a sensor.
|
|||
Notice that some banks have both a read and a write address this is how the
|
||||
uGuru determines if a read from or a write to the bank is taking place, thus
|
||||
when reading you should always use the read address and when writing the
|
||||
write address. The write address is always one (1) more then the read address.
|
||||
write address. The write address is always one (1) more than the read address.
|
||||
|
||||
|
||||
uGuru ready
|
||||
|
@ -224,7 +224,7 @@ Bit 3: Beep if alarm (RW)
|
|||
Bit 4: 1 if alarm cause measured temp is over the warning threshold (R)
|
||||
Bit 5: 1 if alarm cause measured volt is over the max threshold (R)
|
||||
Bit 6: 1 if alarm cause measured volt is under the min threshold (R)
|
||||
Bit 7: Volt sensor: Shutdown if alarm persist for more then 4 seconds (RW)
|
||||
Bit 7: Volt sensor: Shutdown if alarm persist for more than 4 seconds (RW)
|
||||
Temp sensor: Shutdown if temp is over the shutdown threshold (RW)
|
||||
|
||||
* This bit is only honored/used by the uGuru if a temp sensor is connected
|
||||
|
@ -293,7 +293,7 @@ Byte 0:
|
|||
Alarm behaviour for the selected sensor. A 1 enables the described behaviour.
|
||||
Bit 0: Give an alarm if measured rpm is under the min threshold (RW)
|
||||
Bit 3: Beep if alarm (RW)
|
||||
Bit 7: Shutdown if alarm persist for more then 4 seconds (RW)
|
||||
Bit 7: Shutdown if alarm persist for more than 4 seconds (RW)
|
||||
|
||||
Byte 1:
|
||||
min threshold (scale as bank 0x26)
|
||||
|
|
|
@ -1475,7 +1475,7 @@ Sysfs interface changelog:
|
|||
|
||||
0x020100: Marker for thinkpad-acpi with hot key NVRAM polling
|
||||
support. If you must, use it to know you should not
|
||||
start an userspace NVRAM poller (allows to detect when
|
||||
start a userspace NVRAM poller (allows to detect when
|
||||
NVRAM is compiled out by the user because it is
|
||||
unneeded/undesired in the first place).
|
||||
0x020101: Marker for thinkpad-acpi with hot key NVRAM polling
|
||||
|
|
|
@ -540,7 +540,7 @@ A client would issue an operation by:
|
|||
MSG_MORE should be set in msghdr::msg_flags on all but the last part of
|
||||
the request. Multiple requests may be made simultaneously.
|
||||
|
||||
If a call is intended to go to a destination other then the default
|
||||
If a call is intended to go to a destination other than the default
|
||||
specified through connect(), then msghdr::msg_name should be set on the
|
||||
first request message of that call.
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@ As mentioned above, main purpose of TUN/TAP driver is tunneling.
|
|||
It is used by VTun (http://vtun.sourceforge.net).
|
||||
|
||||
Another interesting application using TUN/TAP is pipsecd
|
||||
(http://perso.enst.fr/~beyssac/pipsec/), an userspace IPSec
|
||||
(http://perso.enst.fr/~beyssac/pipsec/), a userspace IPSec
|
||||
implementation that can use complete kernel routing (unlike FreeS/WAN).
|
||||
|
||||
3. How does Virtual network device actually work ?
|
||||
|
|
|
@ -733,7 +733,7 @@ Changes from 20040920 to 20041018
|
|||
I/O completion path a little more, especially taking care of
|
||||
fast-pathing the non-error case. Also removes tons of dead
|
||||
members and defines from lpfc_scsi.h - e.g. lpfc_target is down
|
||||
to nothing more then the lpfc_nodelist pointer.
|
||||
to nothing more than the lpfc_nodelist pointer.
|
||||
* Added binary sysfs file to issue mbox commands
|
||||
* Replaced #if __BIG_ENDIAN with #if __BIG_ENDIAN_BITFIELD for
|
||||
compatibility with the user space applications.
|
||||
|
|
|
@ -19,7 +19,7 @@ Sun Sep 24 21:30 2000 Gerard Roudier (groudier@club-internet.fr)
|
|||
|
||||
Wed Jul 26 23:30 2000 Gerard Roudier (groudier@club-internet.fr)
|
||||
* version ncr53c8xx-3.4.1
|
||||
- Provide OpenFirmare path through the proc FS on PPC.
|
||||
- Provide OpenFirmware path through the proc FS on PPC.
|
||||
- Remove trailing argument #2 from a couple of #undefs.
|
||||
|
||||
Sun Jul 09 16:30 2000 Gerard Roudier (groudier@club-internet.fr)
|
||||
|
|
|
@ -81,7 +81,7 @@ Sun Sep 24 21:30 2000 Gerard Roudier (groudier@club-internet.fr)
|
|||
|
||||
Wed Jul 26 23:30 2000 Gerard Roudier (groudier@club-internet.fr)
|
||||
* version sym53c8xx-1.7.1
|
||||
- Provide OpenFirmare path through the proc FS on PPC.
|
||||
- Provide OpenFirmware path through the proc FS on PPC.
|
||||
- Download of on-chip SRAM using memcpy_toio() doesn't work
|
||||
on PPC. Restore previous method (MEMORY MOVE from SCRIPTS).
|
||||
- Remove trailing argument #2 from a couple of #undefs.
|
||||
|
|
|
@ -4229,9 +4229,10 @@ L: tpmdd-devel@lists.sourceforge.net (moderated for non-subscribers)
|
|||
S: Maintained
|
||||
|
||||
TRIVIAL PATCHES
|
||||
P: Jesper Juhl
|
||||
P: Jiri Kosina
|
||||
M: trivial@kernel.org
|
||||
L: linux-kernel@vger.kernel.org
|
||||
T: git kernel.org:/pub/scm/linux/kernel/git/jikos/trivial.git
|
||||
S: Maintained
|
||||
|
||||
TTY LAYER
|
||||
|
|
2
Makefile
2
Makefile
|
@ -1008,7 +1008,7 @@ define check-symlink
|
|||
endef
|
||||
|
||||
# We create the target directory of the symlink if it does
|
||||
# not exist so the test in chack-symlink works and we have a
|
||||
# not exist so the test in check-symlink works and we have a
|
||||
# directory for generated filesas used by some architectures.
|
||||
define create-symlink
|
||||
if [ ! -L include/asm ]; then \
|
||||
|
|
|
@ -105,7 +105,7 @@ void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs)
|
|||
* Extracts ebp, esp and eip values understandable by gdb from the values
|
||||
* saved by switch_to.
|
||||
* thread.esp points to ebp. flags and ebp are pushed in switch_to hence esp
|
||||
* prior to entering switch_to is 8 greater then the value that is saved.
|
||||
* prior to entering switch_to is 8 greater than the value that is saved.
|
||||
* If switch_to changes, change following code appropriately.
|
||||
*/
|
||||
void sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *p)
|
||||
|
|
|
@ -456,7 +456,7 @@ give_sigsegv:
|
|||
return -EFAULT;
|
||||
}
|
||||
|
||||
/* Invoke a singal handler to, well, handle the signal. */
|
||||
/* Invoke a signal handler to, well, handle the signal. */
|
||||
static inline int
|
||||
handle_signal(int canrestart, unsigned long sig,
|
||||
siginfo_t *info, struct k_sigaction *ka,
|
||||
|
|
|
@ -434,7 +434,7 @@ int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
|
|||
/*
|
||||
* It is possible to have multiple instances associated with a given
|
||||
* task either because an multiple functions in the call path
|
||||
* have a return probe installed on them, and/or more then one return
|
||||
* have a return probe installed on them, and/or more than one return
|
||||
* return probe was registered for a target function.
|
||||
*
|
||||
* We can handle this because:
|
||||
|
|
|
@ -303,7 +303,7 @@ config M68KFPU_EMU_EXTRAPREC
|
|||
correct rounding, the emulator can (often) do the same but this
|
||||
extra calculation can cost quite some time, so you can disable
|
||||
it here. The emulator will then "only" calculate with a 64 bit
|
||||
mantissa and round slightly incorrect, what is more then enough
|
||||
mantissa and round slightly incorrect, what is more than enough
|
||||
for normal usage.
|
||||
|
||||
config M68KFPU_EMU_ONLY
|
||||
|
|
|
@ -401,7 +401,7 @@ static inline void do_040writebacks(struct frame *fp)
|
|||
* called from sigreturn(), must ensure userspace code didn't
|
||||
* manipulate exception frame to circumvent protection, then complete
|
||||
* pending writebacks
|
||||
* we just clear TM2 to turn it into an userspace access
|
||||
* we just clear TM2 to turn it into a userspace access
|
||||
*/
|
||||
asmlinkage void berr_040cleanup(struct frame *fp)
|
||||
{
|
||||
|
|
|
@ -148,7 +148,7 @@ int read_eeprom(char *buffer, int eeprom_size, int size)
|
|||
send_byte(W_HEADER);
|
||||
recv_ack();
|
||||
|
||||
/* EEPROM with size of more then 2K need two byte addressing */
|
||||
/* EEPROM with size of more than 2K need two byte addressing */
|
||||
if (eeprom_size > 2048) {
|
||||
send_byte(0x00);
|
||||
recv_ack();
|
||||
|
|
|
@ -208,7 +208,7 @@ image-$(CONFIG_DEFAULT_UIMAGE) += uImage
|
|||
#
|
||||
# Theses are default targets to build images which embed device tree blobs.
|
||||
# They are only required on boards which do not have FDT support in firmware.
|
||||
# Boards with newish u-boot firmare can use the uImage target above
|
||||
# Boards with newish u-boot firmware can use the uImage target above
|
||||
#
|
||||
|
||||
# Board ports in arch/powerpc/platform/40x/Kconfig
|
||||
|
|
|
@ -317,7 +317,7 @@ static int __kprobes trampoline_probe_handler(struct kprobe *p,
|
|||
/*
|
||||
* It is possible to have multiple instances associated with a given
|
||||
* task either because an multiple functions in the call path
|
||||
* have a return probe installed on them, and/or more then one return
|
||||
* have a return probe installed on them, and/or more than one return
|
||||
* return probe was registered for a target function.
|
||||
*
|
||||
* We can handle this because:
|
||||
|
|
|
@ -49,7 +49,7 @@ void set_spu_profiling_frequency(unsigned int freq_khz, unsigned int cycles_rese
|
|||
* of precision. This is close enough for the purpose at hand.
|
||||
*
|
||||
* The value of the timeout should be small enough that the hw
|
||||
* trace buffer will not get more then about 1/3 full for the
|
||||
* trace buffer will not get more than about 1/3 full for the
|
||||
* maximum user specified (the LFSR value) hw sampling frequency.
|
||||
* This is to ensure the trace buffer will never fill even if the
|
||||
* kernel thread scheduling varies under a heavy system load.
|
||||
|
|
|
@ -299,7 +299,7 @@ config WARN_STACK
|
|||
This option enables the compiler options -mwarn-framesize and
|
||||
-mwarn-dynamicstack. If the compiler supports these options it
|
||||
will generate warnings for function which either use alloca or
|
||||
create a stack frame bigger then CONFIG_WARN_STACK_SIZE.
|
||||
create a stack frame bigger than CONFIG_WARN_STACK_SIZE.
|
||||
|
||||
Say N if you are unsure.
|
||||
|
||||
|
|
|
@ -382,7 +382,7 @@ static int __kprobes trampoline_probe_handler(struct kprobe *p,
|
|||
/*
|
||||
* It is possible to have multiple instances associated with a given
|
||||
* task either because an multiple functions in the call path
|
||||
* have a return probe installed on them, and/or more then one return
|
||||
* have a return probe installed on them, and/or more than one return
|
||||
* return probe was registered for a target function.
|
||||
*
|
||||
* We can handle this because:
|
||||
|
|
|
@ -517,7 +517,7 @@ int __kprobes trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs)
|
|||
/*
|
||||
* It is possible to have multiple instances associated with a given
|
||||
* task either because an multiple functions in the call path
|
||||
* have a return probe installed on them, and/or more then one return
|
||||
* have a return probe installed on them, and/or more than one return
|
||||
* return probe was registered for a target function.
|
||||
*
|
||||
* We can handle this because:
|
||||
|
|
|
@ -695,7 +695,7 @@ static __used __kprobes void *trampoline_handler(struct pt_regs *regs)
|
|||
/*
|
||||
* It is possible to have multiple instances associated with a given
|
||||
* task either because multiple functions in the call path have
|
||||
* return probes installed on them, and/or more then one
|
||||
* return probes installed on them, and/or more than one
|
||||
* return probe was registered for a target function.
|
||||
*
|
||||
* We can handle this because:
|
||||
|
|
|
@ -252,7 +252,7 @@ EXPORT_SYMBOL_GPL(geode_mfgpt_alloc_timer);
|
|||
/*
|
||||
* The MFPGT timers on the CS5536 provide us with suitable timers to use
|
||||
* as clock event sources - not as good as a HPET or APIC, but certainly
|
||||
* better then the PIT. This isn't a general purpose MFGPT driver, but
|
||||
* better than the PIT. This isn't a general purpose MFGPT driver, but
|
||||
* a simplified one designed specifically to act as a clock event source.
|
||||
* For full details about the MFGPT, please consult the CS5536 data sheet.
|
||||
*/
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
*
|
||||
* ACPI based HotPlug driver that supports Memory Hotplug
|
||||
* This driver fields notifications from firmare for memory add
|
||||
* This driver fields notifications from firmware for memory add
|
||||
* and remove operations and alerts the VM of the affected memory
|
||||
* ranges.
|
||||
*/
|
||||
|
|
|
@ -404,7 +404,7 @@ acpi_ex_prep_common_field_object(union acpi_operand_object *obj_desc,
|
|||
*
|
||||
* RETURN: Status
|
||||
*
|
||||
* DESCRIPTION: Construct an union acpi_operand_object of type def_field and
|
||||
* DESCRIPTION: Construct a union acpi_operand_object of type def_field and
|
||||
* connect it to the parent Node.
|
||||
*
|
||||
******************************************************************************/
|
||||
|
|
|
@ -146,7 +146,7 @@ acpi_ex_resolve_object_to_value(union acpi_operand_object **stack_ptr,
|
|||
|
||||
stack_desc = *stack_ptr;
|
||||
|
||||
/* This is an union acpi_operand_object */
|
||||
/* This is a union acpi_operand_object */
|
||||
|
||||
switch (ACPI_GET_OBJECT_TYPE(stack_desc)) {
|
||||
case ACPI_TYPE_LOCAL_REFERENCE:
|
||||
|
|
|
@ -274,7 +274,7 @@ acpi_ex_do_debug_object(union acpi_operand_object *source_desc,
|
|||
*
|
||||
* PARAMETERS: *source_desc - Value to be stored
|
||||
* *dest_desc - Where to store it. Must be an NS node
|
||||
* or an union acpi_operand_object of type
|
||||
* or a union acpi_operand_object of type
|
||||
* Reference;
|
||||
* walk_state - Current walk state
|
||||
*
|
||||
|
|
|
@ -124,7 +124,7 @@ acpi_rs_create_resource_list(union acpi_operand_object *aml_buffer,
|
|||
*
|
||||
* FUNCTION: acpi_rs_create_pci_routing_table
|
||||
*
|
||||
* PARAMETERS: package_object - Pointer to an union acpi_operand_object
|
||||
* PARAMETERS: package_object - Pointer to a union acpi_operand_object
|
||||
* package
|
||||
* output_buffer - Pointer to the user's buffer
|
||||
*
|
||||
|
|
|
@ -297,7 +297,7 @@ union acpi_operand_object *acpi_ut_create_string_object(acpi_size string_size)
|
|||
*
|
||||
* RETURN: TRUE if object is valid, FALSE otherwise
|
||||
*
|
||||
* DESCRIPTION: Validate a pointer to be an union acpi_operand_object
|
||||
* DESCRIPTION: Validate a pointer to be a union acpi_operand_object
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
|
@ -389,7 +389,7 @@ void acpi_ut_delete_object_desc(union acpi_operand_object *object)
|
|||
{
|
||||
ACPI_FUNCTION_TRACE_PTR(ut_delete_object_desc, object);
|
||||
|
||||
/* Object must be an union acpi_operand_object */
|
||||
/* Object must be a union acpi_operand_object */
|
||||
|
||||
if (ACPI_GET_DESCRIPTOR_TYPE(object) != ACPI_DESC_TYPE_OPERAND) {
|
||||
ACPI_ERROR((AE_INFO,
|
||||
|
|
|
@ -54,7 +54,7 @@ config FIRMWARE_IN_KERNEL
|
|||
such firmware, and do not wish to use an initrd.
|
||||
|
||||
This single option controls the inclusion of firmware for
|
||||
every driver which uses request_firmare() and ships its
|
||||
every driver which uses request_firmware() and ships its
|
||||
firmware in the kernel source tree, to avoid a proliferation
|
||||
of 'Include firmware for xxx device' options.
|
||||
|
||||
|
|
|
@ -769,7 +769,7 @@ static int pc_open(struct tty_struct *tty, struct file *filp)
|
|||
/* Check status of board configured in system. */
|
||||
|
||||
/*
|
||||
* I check to see if the epca_setup routine detected an user error. It
|
||||
* I check to see if the epca_setup routine detected a user error. It
|
||||
* might be better to put this in pc_init, but for the moment it goes
|
||||
* here.
|
||||
*/
|
||||
|
|
|
@ -83,7 +83,7 @@ config CPU_FREQ_DEFAULT_GOV_USERSPACE
|
|||
select CPU_FREQ_GOV_USERSPACE
|
||||
help
|
||||
Use the CPUFreq governor 'userspace' as default. This allows
|
||||
you to set the CPU frequency manually or when an userspace
|
||||
you to set the CPU frequency manually or when a userspace
|
||||
program shall be able to set the CPU dynamically without having
|
||||
to enable the userspace governor manually.
|
||||
|
||||
|
@ -138,7 +138,7 @@ config CPU_FREQ_GOV_USERSPACE
|
|||
tristate "'userspace' governor for userspace frequency scaling"
|
||||
help
|
||||
Enable this cpufreq governor when you either want to set the
|
||||
CPU frequency manually or when an userspace program shall
|
||||
CPU frequency manually or when a userspace program shall
|
||||
be able to set the CPU dynamically, like on LART
|
||||
<http://www.lartmaker.nl/>.
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ static const u8 FSCHMD_REG_VOLT[3] = { 0x45, 0x42, 0x48 };
|
|||
|
||||
/* minimum pwm at which the fan is driven (pwm can by increased depending on
|
||||
the temp. Notice that for the scy some fans share there minimum speed.
|
||||
Also notice that with the scy the sensor order is different then with the
|
||||
Also notice that with the scy the sensor order is different than with the
|
||||
other chips, this order was in the 2.4 driver and kept for consistency. */
|
||||
static const u8 FSCHMD_REG_FAN_MIN[5][6] = {
|
||||
{ 0x55, 0x65 }, /* pos */
|
||||
|
|
|
@ -367,7 +367,7 @@ int mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata)
|
|||
if (err)
|
||||
goto out;
|
||||
} else {
|
||||
/* Can't be smaller then the number of outstanding CQEs */
|
||||
/* Can't be smaller than the number of outstanding CQEs */
|
||||
outst_cqe = mlx4_ib_get_outstanding_cqes(cq);
|
||||
if (entries < outst_cqe + 1) {
|
||||
err = 0;
|
||||
|
|
|
@ -65,7 +65,7 @@ MODULE_PARM_DESC(extra, "Enable extra LEDs and keys on IBM RapidAcces, EzKey and
|
|||
|
||||
/*
|
||||
* Scancode to keycode tables. These are just the default setting, and
|
||||
* are loadable via an userland utility.
|
||||
* are loadable via a userland utility.
|
||||
*/
|
||||
|
||||
static const unsigned short atkbd_set2_keycode[512] = {
|
||||
|
|
|
@ -138,7 +138,7 @@ config PMAC_BACKLIGHT
|
|||
Say Y here to enable Macintosh specific extensions of the generic
|
||||
backlight code. With this enabled, the brightness keys on older
|
||||
PowerBooks will be enabled so you can change the screen brightness.
|
||||
Newer models should use an userspace daemon like pbbuttonsd.
|
||||
Newer models should use a userspace daemon like pbbuttonsd.
|
||||
|
||||
config PMAC_BACKLIGHT_LEGACY
|
||||
bool "Provide legacy ioctl's on /dev/pmu for the backlight"
|
||||
|
|
|
@ -390,7 +390,7 @@ static int i2o_scsi_reply(struct i2o_controller *c, u32 m,
|
|||
* @i2o_dev: the I2O device which was added
|
||||
*
|
||||
* If a I2O device is added we catch the notification, because I2O classes
|
||||
* other then SCSI peripheral will not be received through
|
||||
* other than SCSI peripheral will not be received through
|
||||
* i2o_scsi_probe().
|
||||
*/
|
||||
static void i2o_scsi_notify_device_add(struct i2o_device *i2o_dev)
|
||||
|
|
|
@ -50,7 +50,7 @@ static void wake_up_event_readers(struct service_processor *sp)
|
|||
* Store the event in the circular event buffer, wake up any sleeping
|
||||
* event readers.
|
||||
* There is no reader marker in the buffer, therefore readers are
|
||||
* responsible for keeping up with the writer, or they will loose events.
|
||||
* responsible for keeping up with the writer, or they will lose events.
|
||||
*/
|
||||
void ibmasm_receive_event(struct service_processor *sp, void *data, unsigned int data_size)
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* You need an userspace library to cooperate with this driver. It (and other
|
||||
* You need a userspace library to cooperate with this driver. It (and other
|
||||
* info) may be obtained here:
|
||||
* http://www.fi.muni.cz/~xslaby/phantom.html
|
||||
* or alternatively, you might use OpenHaptics provided by Sensable.
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
* aperture size, not the dram size, and the V370PDC supplies no
|
||||
* other method for memory size discovery. This problem is
|
||||
* mostly only relevant when compiled as a module, as the
|
||||
* unloading of the module with an aperture size smaller then
|
||||
* unloading of the module with an aperture size smaller than
|
||||
* the ram will cause the driver to detect the onboard memory
|
||||
* size to be equal to the aperture size when the module is
|
||||
* reloaded. Soooo, to help, the module supports an msize
|
||||
|
|
|
@ -717,7 +717,7 @@ write_error:
|
|||
* to the real data size, although the @buf buffer has to contain the
|
||||
* alignment. In all other cases, @len has to be aligned.
|
||||
*
|
||||
* It is prohibited to write more then once to logical eraseblocks of static
|
||||
* It is prohibited to write more than once to logical eraseblocks of static
|
||||
* volumes. This function returns zero in case of success and a negative error
|
||||
* code in case of failure.
|
||||
*/
|
||||
|
|
|
@ -465,7 +465,7 @@ out:
|
|||
* This function synchronously erases physical eraseblock @pnum. If @torture
|
||||
* flag is not zero, the physical eraseblock is checked by means of writing
|
||||
* different patterns to it and reading them back. If the torturing is enabled,
|
||||
* the physical eraseblock is erased more then once.
|
||||
* the physical eraseblock is erased more than once.
|
||||
*
|
||||
* This function returns the number of erasures made in case of success, %-EIO
|
||||
* if the erasure failed or the torturing test failed, and other negative error
|
||||
|
|
|
@ -478,7 +478,7 @@ int ubi_scan_add_used(struct ubi_device *ubi, struct ubi_scan_info *si,
|
|||
return 0;
|
||||
} else {
|
||||
/*
|
||||
* This logical eraseblock is older then the one found
|
||||
* This logical eraseblock is older than the one found
|
||||
* previously.
|
||||
*/
|
||||
if (cmp_res & 4)
|
||||
|
|
|
@ -135,7 +135,7 @@ enum {
|
|||
* The erase counter header takes 64 bytes and has a plenty of unused space for
|
||||
* future usage. The unused fields are zeroed. The @version field is used to
|
||||
* indicate the version of UBI implementation which is supposed to be able to
|
||||
* work with this UBI image. If @version is greater then the current UBI
|
||||
* work with this UBI image. If @version is greater than the current UBI
|
||||
* version, the image is rejected. This may be useful in future if something
|
||||
* is changed radically. This field is duplicated in the volume identifier
|
||||
* header.
|
||||
|
@ -187,7 +187,7 @@ struct ubi_ec_hdr {
|
|||
* (sequence number) is used to distinguish between older and newer versions of
|
||||
* logical eraseblocks.
|
||||
*
|
||||
* There are 2 situations when there may be more then one physical eraseblock
|
||||
* There are 2 situations when there may be more than one physical eraseblock
|
||||
* corresponding to the same logical eraseblock, i.e., having the same @vol_id
|
||||
* and @lnum values in the volume identifier header. Suppose we have a logical
|
||||
* eraseblock L and it is mapped to the physical eraseblock P.
|
||||
|
|
|
@ -577,7 +577,7 @@ static int init_volumes(struct ubi_device *ubi, const struct ubi_scan_info *si,
|
|||
if (vtbl[i].flags & UBI_VTBL_AUTORESIZE_FLG) {
|
||||
/* Auto re-size flag may be set only for one volume */
|
||||
if (ubi->autoresize_vol_id != -1) {
|
||||
ubi_err("more then one auto-resize volume (%d "
|
||||
ubi_err("more than one auto-resize volume (%d "
|
||||
"and %d)", ubi->autoresize_vol_id, i);
|
||||
kfree(vol);
|
||||
return -EINVAL;
|
||||
|
|
|
@ -128,7 +128,7 @@
|
|||
* situation when the picked physical eraseblock is constantly erased after the
|
||||
* data is written to it. So, we have a constant which limits the highest erase
|
||||
* counter of the free physical eraseblock to pick. Namely, the WL sub-system
|
||||
* does not pick eraseblocks with erase counter greater then the lowest erase
|
||||
* does not pick eraseblocks with erase counter greater than the lowest erase
|
||||
* counter plus %WL_FREE_MAX_DIFF.
|
||||
*/
|
||||
#define WL_FREE_MAX_DIFF (2*UBI_WL_THRESHOLD)
|
||||
|
@ -917,7 +917,7 @@ static int ensure_wear_leveling(struct ubi_device *ubi)
|
|||
/*
|
||||
* We schedule wear-leveling only if the difference between the
|
||||
* lowest erase counter of used physical eraseblocks and a high
|
||||
* erase counter of free physical eraseblocks is greater then
|
||||
* erase counter of free physical eraseblocks is greater than
|
||||
* %UBI_WL_THRESHOLD.
|
||||
*/
|
||||
e1 = rb_entry(rb_first(&ubi->used), struct ubi_wl_entry, u.rb);
|
||||
|
|
|
@ -3359,7 +3359,7 @@ static u8 bnx2x_format_ver(u32 num, u8 *str, u16 len)
|
|||
u8 shift = 8*4;
|
||||
u8 digit;
|
||||
if (len < 10) {
|
||||
/* Need more then 10chars for this format */
|
||||
/* Need more than 10chars for this format */
|
||||
*str_ptr = '\0';
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
|
@ -6758,7 +6758,7 @@ static s32 e1000_get_cable_length(struct e1000_hw *hw, u16 *min_length,
|
|||
* returns: - E1000_ERR_XXX
|
||||
* E1000_SUCCESS
|
||||
*
|
||||
* For phy's older then IGP, this function simply reads the polarity bit in the
|
||||
* For phy's older than IGP, this function simply reads the polarity bit in the
|
||||
* Phy Status register. For IGP phy's, this bit is valid only if link speed is
|
||||
* 10 Mbps. If the link speed is 100 Mbps there is no polarity so this bit will
|
||||
* return 0. If the link speed is 1000 Mbps the polarity status is in the
|
||||
|
@ -6834,7 +6834,7 @@ static s32 e1000_check_polarity(struct e1000_hw *hw,
|
|||
* returns: - E1000_ERR_XXX
|
||||
* E1000_SUCCESS
|
||||
*
|
||||
* For phy's older then IGP, this function reads the Downshift bit in the Phy
|
||||
* For phy's older than IGP, this function reads the Downshift bit in the Phy
|
||||
* Specific Status register. For IGP phy's, it reads the Downgrade bit in the
|
||||
* Link Health register. In IGP this bit is latched high, so the driver must
|
||||
* read it immediately after link is established.
|
||||
|
|
|
@ -75,7 +75,7 @@ struct slip {
|
|||
unsigned long tx_errors; /* Planned stuff */
|
||||
unsigned long rx_dropped; /* No memory for skb */
|
||||
unsigned long tx_dropped; /* When MTU change */
|
||||
unsigned long rx_over_errors; /* Frame bigger then SLIP buf. */
|
||||
unsigned long rx_over_errors; /* Frame bigger than SLIP buf. */
|
||||
#ifdef SL_INCLUDE_CSLIP
|
||||
unsigned long tx_compressed;
|
||||
unsigned long rx_compressed;
|
||||
|
|
|
@ -1004,7 +1004,7 @@ static inline void bdx_rxdb_free_elem(struct rxdb *db, int n)
|
|||
* skb for rx. It assumes that Rx is desabled in HW
|
||||
* funcs are grouped for better cache usage
|
||||
*
|
||||
* RxD fifo is smaller then RxF fifo by design. Upon high load, RxD will be
|
||||
* RxD fifo is smaller than RxF fifo by design. Upon high load, RxD will be
|
||||
* filled and packets will be dropped by nic without getting into host or
|
||||
* cousing interrupt. Anyway, in that condition, host has no chance to proccess
|
||||
* all packets, but dropping in nic is cheaper, since it takes 0 cpu cycles
|
||||
|
@ -1826,7 +1826,7 @@ static void bdx_tx_free(struct bdx_priv *priv)
|
|||
*
|
||||
* Pushes desc to TxD fifo and overlaps it if needed.
|
||||
* NOTE: this func does not check for available space. this is responsibility
|
||||
* of the caller. Neither does it check that data size is smaller then
|
||||
* of the caller. Neither does it check that data size is smaller than
|
||||
* fifo size.
|
||||
*/
|
||||
static void bdx_tx_push_desc(struct bdx_priv *priv, void *data, int size)
|
||||
|
|
|
@ -3064,7 +3064,7 @@ static int smctr_load_node_addr(struct net_device *dev)
|
|||
* will consequently cause a timeout.
|
||||
*
|
||||
* NOTE 1: If the monitor_state is MS_BEACON_TEST_STATE, all transmit
|
||||
* queues other then the one used for the lobe_media_test should be
|
||||
* queues other than the one used for the lobe_media_test should be
|
||||
* disabled.!?
|
||||
*
|
||||
* NOTE 2: If the monitor_state is MS_BEACON_TEST_STATE and the receive_mask
|
||||
|
|
|
@ -3836,7 +3836,7 @@ static int reset_atmel_card(struct net_device *dev)
|
|||
This routine is also responsible for initialising some
|
||||
hardware-specific fields in the atmel_private structure,
|
||||
including a copy of the firmware's hostinfo stucture
|
||||
which is the route into the rest of the firmare datastructures. */
|
||||
which is the route into the rest of the firmware datastructures. */
|
||||
|
||||
struct atmel_private *priv = netdev_priv(dev);
|
||||
u8 configuration;
|
||||
|
|
|
@ -1332,7 +1332,7 @@ static int ipw2100_power_cycle_adapter(struct ipw2100_priv *priv)
|
|||
IPW_AUX_HOST_RESET_REG_STOP_MASTER);
|
||||
|
||||
/* Step 2. Wait for stop Master Assert
|
||||
* (not more then 50us, otherwise ret error */
|
||||
* (not more than 50us, otherwise ret error */
|
||||
i = 5;
|
||||
do {
|
||||
udelay(IPW_WAIT_RESET_MASTER_ASSERT_COMPLETE_DELAY);
|
||||
|
@ -1830,7 +1830,7 @@ static void ipw2100_down(struct ipw2100_priv *priv)
|
|||
cancel_delayed_work(&priv->rf_kill);
|
||||
}
|
||||
|
||||
/* Kill the firmare hang check timer */
|
||||
/* Kill the firmware hang check timer */
|
||||
if (!priv->stop_hang_check) {
|
||||
priv->stop_hang_check = 1;
|
||||
cancel_delayed_work(&priv->hang_check);
|
||||
|
|
|
@ -184,8 +184,8 @@ void rt2x00crypto_rx_insert_iv(struct sk_buff *skb, unsigned int align,
|
|||
* Make room for new data, note that we increase both
|
||||
* headsize and tailsize when required. The tailsize is
|
||||
* only needed when ICV data needs to be inserted and
|
||||
* the padding is smaller then the ICV data.
|
||||
* When alignment requirements is greater then the
|
||||
* the padding is smaller than the ICV data.
|
||||
* When alignment requirements is greater than the
|
||||
* ICV data we must trim the skb to the correct size
|
||||
* because we need to remove the extra bytes.
|
||||
*/
|
||||
|
|
|
@ -236,7 +236,7 @@ struct strip {
|
|||
unsigned long tx_errors; /* Planned stuff */
|
||||
unsigned long rx_dropped; /* No memory for skb */
|
||||
unsigned long tx_dropped; /* When MTU change */
|
||||
unsigned long rx_over_errors; /* Frame bigger then STRIP buf. */
|
||||
unsigned long rx_over_errors; /* Frame bigger than STRIP buf. */
|
||||
|
||||
unsigned long pps_timer; /* Timer to determine pps */
|
||||
unsigned long rx_pps_count; /* Counter to determine pps */
|
||||
|
|
|
@ -630,7 +630,7 @@ ds1511_rtc_init(void)
|
|||
static void __exit
|
||||
ds1511_rtc_exit(void)
|
||||
{
|
||||
return platform_driver_unregister(&ds1511_rtc_driver);
|
||||
platform_driver_unregister(&ds1511_rtc_driver);
|
||||
}
|
||||
|
||||
module_init(ds1511_rtc_init);
|
||||
|
|
|
@ -399,7 +399,7 @@ static __init int stk17ta8_init(void)
|
|||
|
||||
static __exit void stk17ta8_exit(void)
|
||||
{
|
||||
return platform_driver_unregister(&stk17ta8_rtc_driver);
|
||||
platform_driver_unregister(&stk17ta8_rtc_driver);
|
||||
}
|
||||
|
||||
module_init(stk17ta8_init);
|
||||
|
|
|
@ -535,8 +535,8 @@ static int dasd_eer_open(struct inode *inp, struct file *filp)
|
|||
eerb->buffer_page_count > INT_MAX / PAGE_SIZE) {
|
||||
kfree(eerb);
|
||||
MESSAGE(KERN_WARNING, "can't open device since module "
|
||||
"parameter eer_pages is smaller then 1 or"
|
||||
" bigger then %d", (int)(INT_MAX / PAGE_SIZE));
|
||||
"parameter eer_pages is smaller than 1 or"
|
||||
" bigger than %d", (int)(INT_MAX / PAGE_SIZE));
|
||||
unlock_kernel();
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
|
@ -427,7 +427,7 @@ static int vmlogrdr_receive_data(struct vmlogrdr_priv_t *priv)
|
|||
buffer = priv->buffer + sizeof(int);
|
||||
}
|
||||
/*
|
||||
* If the record is bigger then our buffer, we receive only
|
||||
* If the record is bigger than our buffer, we receive only
|
||||
* a part of it. We can get the rest later.
|
||||
*/
|
||||
if (iucv_data_count > NET_BUFFER_SIZE)
|
||||
|
@ -437,7 +437,7 @@ static int vmlogrdr_receive_data(struct vmlogrdr_priv_t *priv)
|
|||
0, buffer, iucv_data_count,
|
||||
&priv->residual_length);
|
||||
spin_unlock_bh(&priv->priv_lock);
|
||||
/* An rc of 5 indicates that the record was bigger then
|
||||
/* An rc of 5 indicates that the record was bigger than
|
||||
* the buffer, which is OK for us. A 9 indicates that the
|
||||
* record was purged befor we could receive it.
|
||||
*/
|
||||
|
|
|
@ -633,7 +633,7 @@ static int orc_device_reset(struct orc_host * host, struct scsi_cmnd *cmd, unsig
|
|||
return FAILED;
|
||||
}
|
||||
|
||||
/* Reset device is handled by the firmare, we fill in an SCB and
|
||||
/* Reset device is handled by the firmware, we fill in an SCB and
|
||||
fire it at the controller, it does the rest */
|
||||
scb->opcode = ORC_BUSDEVRST;
|
||||
scb->target = target;
|
||||
|
|
|
@ -1964,10 +1964,10 @@ lpfc_set_disctmo(struct lpfc_vport *vport)
|
|||
uint32_t tmo;
|
||||
|
||||
if (vport->port_state == LPFC_LOCAL_CFG_LINK) {
|
||||
/* For FAN, timeout should be greater then edtov */
|
||||
/* For FAN, timeout should be greater than edtov */
|
||||
tmo = (((phba->fc_edtov + 999) / 1000) + 1);
|
||||
} else {
|
||||
/* Normal discovery timeout should be > then ELS/CT timeout
|
||||
/* Normal discovery timeout should be > than ELS/CT timeout
|
||||
* FC spec states we need 3 * ratov for CT requests
|
||||
*/
|
||||
tmo = ((phba->fc_ratov * 3) + 3);
|
||||
|
|
|
@ -420,7 +420,7 @@ lpfc_sli_next_iocb_slot (struct lpfc_hba *phba, struct lpfc_sli_ring *pring)
|
|||
if (unlikely(pring->local_getidx >= max_cmd_idx)) {
|
||||
lpfc_printf_log(phba, KERN_ERR, LOG_SLI,
|
||||
"0315 Ring %d issue: portCmdGet %d "
|
||||
"is bigger then cmd ring %d\n",
|
||||
"is bigger than cmd ring %d\n",
|
||||
pring->ringno,
|
||||
pring->local_getidx, max_cmd_idx);
|
||||
|
||||
|
@ -1628,12 +1628,12 @@ lpfc_sli_rsp_pointers_error(struct lpfc_hba *phba, struct lpfc_sli_ring *pring)
|
|||
{
|
||||
struct lpfc_pgp *pgp = &phba->port_gp[pring->ringno];
|
||||
/*
|
||||
* Ring <ringno> handler: portRspPut <portRspPut> is bigger then
|
||||
* Ring <ringno> handler: portRspPut <portRspPut> is bigger than
|
||||
* rsp ring <portRspMax>
|
||||
*/
|
||||
lpfc_printf_log(phba, KERN_ERR, LOG_SLI,
|
||||
"0312 Ring %d handler: portRspPut %d "
|
||||
"is bigger then rsp ring %d\n",
|
||||
"is bigger than rsp ring %d\n",
|
||||
pring->ringno, le32_to_cpu(pgp->rspPutInx),
|
||||
pring->numRiocb);
|
||||
|
||||
|
@ -2083,12 +2083,12 @@ lpfc_sli_handle_slow_ring_event(struct lpfc_hba *phba,
|
|||
portRspPut = le32_to_cpu(pgp->rspPutInx);
|
||||
if (portRspPut >= portRspMax) {
|
||||
/*
|
||||
* Ring <ringno> handler: portRspPut <portRspPut> is bigger then
|
||||
* Ring <ringno> handler: portRspPut <portRspPut> is bigger than
|
||||
* rsp ring <portRspMax>
|
||||
*/
|
||||
lpfc_printf_log(phba, KERN_ERR, LOG_SLI,
|
||||
"0303 Ring %d handler: portRspPut %d "
|
||||
"is bigger then rsp ring %d\n",
|
||||
"is bigger than rsp ring %d\n",
|
||||
pring->ringno, portRspPut, portRspMax);
|
||||
|
||||
phba->link_state = LPFC_HBA_ERROR;
|
||||
|
|
|
@ -1967,8 +1967,8 @@ megaraid_abort_and_reset(adapter_t *adapter, Scsi_Cmnd *cmd, int aor)
|
|||
scb->state |= aor;
|
||||
|
||||
/*
|
||||
* Check if this command has firmare owenership. If
|
||||
* yes, we cannot reset this command. Whenever, f/w
|
||||
* Check if this command has firmware ownership. If
|
||||
* yes, we cannot reset this command. Whenever f/w
|
||||
* completes this command, we will return appropriate
|
||||
* status from ISR.
|
||||
*/
|
||||
|
|
|
@ -128,7 +128,7 @@
|
|||
- Integrate ql12160_set_target_parameters() with 1280 version
|
||||
- Make qla1280_setup() non static
|
||||
- Do not call qla1280_check_for_dead_scsi_bus() on every I/O request
|
||||
sent to the card - this command pauses the firmare!!!
|
||||
sent to the card - this command pauses the firmware!!!
|
||||
Rev 3.23.15 Beta March 19, 2002, Jes Sorensen
|
||||
- Clean up qla1280.h - remove obsolete QL_DEBUG_LEVEL_x definitions
|
||||
- Remove a pile of pointless and confusing (srb_t **) and
|
||||
|
@ -659,7 +659,7 @@ static int qla1280_read_nvram(struct scsi_qla_host *ha)
|
|||
/* The firmware interface is, um, interesting, in that the
|
||||
* actual firmware image on the chip is little endian, thus,
|
||||
* the process of taking that image to the CPU would end up
|
||||
* little endian. However, the firmare interface requires it
|
||||
* little endian. However, the firmware interface requires it
|
||||
* to be read a word (two bytes) at a time.
|
||||
*
|
||||
* The net result of this would be that the word (and
|
||||
|
|
|
@ -392,7 +392,7 @@ int qla4xxx_get_firmware_status(struct scsi_qla_host * ha)
|
|||
ha->iocb_hiwat -= IOCB_HIWAT_CUSHION;
|
||||
else
|
||||
dev_info(&ha->pdev->dev, "WARNING!!! You have less than %d "
|
||||
"firmare IOCBs available (%d).\n",
|
||||
"firmware IOCBs available (%d).\n",
|
||||
IOCB_HIWAT_CUSHION, ha->iocb_hiwat);
|
||||
|
||||
return QLA_SUCCESS;
|
||||
|
|
|
@ -1650,7 +1650,7 @@ int scsi_error_handler(void *data)
|
|||
* We use TASK_INTERRUPTIBLE so that the thread is not
|
||||
* counted against the load average as a running process.
|
||||
* We never actually get interrupted because kthread_run
|
||||
* disables singal delivery for the created thread.
|
||||
* disables signal delivery for the created thread.
|
||||
*/
|
||||
set_current_state(TASK_INTERRUPTIBLE);
|
||||
while (!kthread_should_stop()) {
|
||||
|
|
|
@ -3123,7 +3123,7 @@ static int __init serial8250_init(void)
|
|||
if (nr_uarts > UART_NR)
|
||||
nr_uarts = UART_NR;
|
||||
|
||||
printk(KERN_INFO "Serial: 8250/16550 driver"
|
||||
printk(KERN_INFO "Serial: 8250/16550 driver, "
|
||||
"%d ports, IRQ sharing %sabled\n", nr_uarts,
|
||||
share_irqs ? "en" : "dis");
|
||||
|
||||
|
|
|
@ -1203,7 +1203,7 @@ static void e100_disable_txdma_channel(struct e100_serial *info)
|
|||
unsigned long flags;
|
||||
|
||||
/* Disable output DMA channel for the serial port in question
|
||||
* ( set to something other then serialX)
|
||||
* ( set to something other than serialX)
|
||||
*/
|
||||
local_irq_save(flags);
|
||||
DFLOW(DEBUG_LOG(info->line, "disable_txdma_channel %i\n", info->line));
|
||||
|
@ -1266,7 +1266,7 @@ static void e100_disable_rxdma_channel(struct e100_serial *info)
|
|||
unsigned long flags;
|
||||
|
||||
/* Disable input DMA channel for the serial port in question
|
||||
* ( set to something other then serialX)
|
||||
* ( set to something other than serialX)
|
||||
*/
|
||||
local_irq_save(flags);
|
||||
if (info->line == 0) {
|
||||
|
|
|
@ -387,7 +387,7 @@ int i1480_usb_probe(struct usb_interface *iface, const struct usb_device_id *id)
|
|||
goto error_create;
|
||||
}
|
||||
|
||||
/* setup the fops and upload the firmare */
|
||||
/* setup the fops and upload the firmware */
|
||||
i1480->pre_fw_name = "i1480-pre-phy-0.0.bin";
|
||||
i1480->mac_fw_name = "i1480-usb-0.0.bin";
|
||||
i1480->mac_fw_name_deprecate = "ptc-0.0.bin";
|
||||
|
|
|
@ -1332,7 +1332,7 @@ static void vgacon_save_screen(struct vc_data *c)
|
|||
c->vc_y = screen_info.orig_y;
|
||||
}
|
||||
|
||||
/* We can't copy in more then the size of the video buffer,
|
||||
/* We can't copy in more than the size of the video buffer,
|
||||
* or we'll be copying in VGA BIOS */
|
||||
|
||||
if (!vga_is_gfx)
|
||||
|
|
|
@ -98,7 +98,7 @@ struct compat_ncp_objectname_ioctl
|
|||
{
|
||||
s32 auth_type;
|
||||
u32 object_name_len;
|
||||
compat_caddr_t object_name; /* an userspace data, in most cases user name */
|
||||
compat_caddr_t object_name; /* a userspace data, in most cases user name */
|
||||
};
|
||||
|
||||
struct compat_ncp_fs_info_v2 {
|
||||
|
|
|
@ -854,7 +854,7 @@ static int o2hb_thread(void *data)
|
|||
|
||||
while (!kthread_should_stop() && !reg->hr_unclean_stop) {
|
||||
/* We track the time spent inside
|
||||
* o2hb_do_disk_heartbeat so that we avoid more then
|
||||
* o2hb_do_disk_heartbeat so that we avoid more than
|
||||
* hr_timeout_ms between disk writes. On busy systems
|
||||
* this should result in a heartbeat which is less
|
||||
* likely to time itself out. */
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/*
|
||||
* Logic: we've got two memory sums for each process, "shared", and
|
||||
* "non-shared". Shared memory may get counted more then once, for
|
||||
* "non-shared". Shared memory may get counted more than once, for
|
||||
* each process that owns it. Non-shared memory is counted
|
||||
* accurately.
|
||||
*/
|
||||
|
|
|
@ -40,7 +40,7 @@ config UBIFS_FS_ZLIB
|
|||
depends on UBIFS_FS
|
||||
default y
|
||||
help
|
||||
Zlib copresses better then LZO but it is slower. Say 'Y' if unsure.
|
||||
Zlib compresses better than LZO but it is slower. Say 'Y' if unsure.
|
||||
|
||||
# Debugging-related stuff
|
||||
config UBIFS_FS_DEBUG
|
||||
|
|
|
@ -142,7 +142,7 @@ static long long get_liability(struct ubifs_info *c)
|
|||
*
|
||||
* This function is called when an operation cannot be budgeted because there
|
||||
* is supposedly no free space. But in most cases there is some free space:
|
||||
* o budgeting is pessimistic, so it always budgets more then it is actually
|
||||
* o budgeting is pessimistic, so it always budgets more than it is actually
|
||||
* needed, so shrinking the liability is one way to make free space - the
|
||||
* cached data will take less space then it was budgeted for;
|
||||
* o GC may turn some dark space into free space (budgeting treats dark space
|
||||
|
@ -606,7 +606,7 @@ void ubifs_release_budget(struct ubifs_info *c, struct ubifs_budget_req *req)
|
|||
* @c: UBIFS file-system description object
|
||||
*
|
||||
* This function converts budget which was allocated for a new page of data to
|
||||
* the budget of changing an existing page of data. The latter is smaller then
|
||||
* the budget of changing an existing page of data. The latter is smaller than
|
||||
* the former, so this function only does simple re-calculation and does not
|
||||
* involve any write-back.
|
||||
*/
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
#define SMALL_NODE_WM UBIFS_MAX_DENT_NODE_SZ
|
||||
|
||||
/*
|
||||
* GC may need to move more then one LEB to make progress. The below constants
|
||||
* GC may need to move more than one LEB to make progress. The below constants
|
||||
* define "soft" and "hard" limits on the number of LEBs the garbage collector
|
||||
* may move.
|
||||
*/
|
||||
|
|
|
@ -191,7 +191,7 @@ again:
|
|||
if (wbuf->lnum != -1 && avail >= len) {
|
||||
/*
|
||||
* Someone else has switched the journal head and we have
|
||||
* enough space now. This happens when more then one process is
|
||||
* enough space now. This happens when more than one process is
|
||||
* trying to write to the same journal head at the same time.
|
||||
*/
|
||||
dbg_jnl("return LEB %d back, already have LEB %d:%d",
|
||||
|
|
|
@ -151,7 +151,7 @@ static int shrink_tnc(struct ubifs_info *c, int nr, int age, int *contention)
|
|||
* @contention: if any contention, this is set to %1
|
||||
*
|
||||
* This function walks the list of mounted UBIFS file-systems and frees clean
|
||||
* znodes which are older then @age, until at least @nr znodes are freed.
|
||||
* znodes which are older than @age, until at least @nr znodes are freed.
|
||||
* Returns the number of freed znodes.
|
||||
*/
|
||||
static int shrink_tnc_trees(int nr, int age, int *contention)
|
||||
|
|
|
@ -1348,7 +1348,7 @@ xfs_finish_flags(
|
|||
{
|
||||
int ronly = (mp->m_flags & XFS_MOUNT_RDONLY);
|
||||
|
||||
/* Fail a mount where the logbuf is smaller then the log stripe */
|
||||
/* Fail a mount where the logbuf is smaller than the log stripe */
|
||||
if (xfs_sb_version_haslogv2(&mp->m_sb)) {
|
||||
if (mp->m_logbsize <= 0 &&
|
||||
mp->m_sb.sb_logsunit > XLOG_BIG_RECORD_BSIZE) {
|
||||
|
|
|
@ -333,8 +333,8 @@ struct acpi_integer_overlay {
|
|||
#define ACPI_INSERT_BITS(target, mask, source) target = ((target & (~(mask))) | (source & mask))
|
||||
|
||||
/*
|
||||
* An struct acpi_namespace_node can appear in some contexts
|
||||
* where a pointer to an union acpi_operand_object can also
|
||||
* A struct acpi_namespace_node can appear in some contexts
|
||||
* where a pointer to a union acpi_operand_object can also
|
||||
* appear. This macro is used to distinguish them.
|
||||
*
|
||||
* The "Descriptor" field is the first field in both structures.
|
||||
|
|
|
@ -467,7 +467,7 @@ typedef u32 acpi_object_type;
|
|||
|
||||
/*
|
||||
* These are special object types that never appear in
|
||||
* a Namespace node, only in an union acpi_operand_object
|
||||
* a Namespace node, only in a union acpi_operand_object
|
||||
*/
|
||||
#define ACPI_TYPE_LOCAL_EXTRA 0x1C
|
||||
#define ACPI_TYPE_LOCAL_DATA 0x1D
|
||||
|
|
|
@ -83,7 +83,7 @@ typedef enum {
|
|||
* @datbuf: data buffer - if NULL only oob data are read/written
|
||||
* @oobbuf: oob data buffer
|
||||
*
|
||||
* Note, it is allowed to read more then one OOB area at one go, but not write.
|
||||
* Note, it is allowed to read more than one OOB area at one go, but not write.
|
||||
* The interface assumes that the OOB write requests program only one page's
|
||||
* OOB area.
|
||||
*/
|
||||
|
|
|
@ -87,7 +87,7 @@ struct ncp_objectname_ioctl
|
|||
#define NCP_AUTH_NDS 0x32
|
||||
int auth_type;
|
||||
size_t object_name_len;
|
||||
void __user * object_name; /* an userspace data, in most cases user name */
|
||||
void __user * object_name; /* a userspace data, in most cases user name */
|
||||
};
|
||||
|
||||
struct ncp_privatedata_ioctl
|
||||
|
|
|
@ -327,9 +327,9 @@ extern struct spi_master *spi_busnum_to_master(u16 busnum);
|
|||
* @tx_dma: DMA address of tx_buf, if @spi_message.is_dma_mapped
|
||||
* @rx_dma: DMA address of rx_buf, if @spi_message.is_dma_mapped
|
||||
* @len: size of rx and tx buffers (in bytes)
|
||||
* @speed_hz: Select a speed other then the device default for this
|
||||
* @speed_hz: Select a speed other than the device default for this
|
||||
* transfer. If 0 the default (from @spi_device) is used.
|
||||
* @bits_per_word: select a bits_per_word other then the device default
|
||||
* @bits_per_word: select a bits_per_word other than the device default
|
||||
* for this transfer. If 0 the default (from @spi_device) is used.
|
||||
* @cs_change: affects chipselect after this transfer completes
|
||||
* @delay_usecs: microseconds to delay after this transfer before
|
||||
|
|
|
@ -253,7 +253,7 @@ struct ubi_mkvol_req {
|
|||
*
|
||||
* Re-sizing is possible for both dynamic and static volumes. But while dynamic
|
||||
* volumes may be re-sized arbitrarily, static volumes cannot be made to be
|
||||
* smaller then the number of bytes they bear. To arbitrarily shrink a static
|
||||
* smaller than the number of bytes they bear. To arbitrarily shrink a static
|
||||
* volume, it must be wiped out first (by means of volume update operation with
|
||||
* zero number of bytes).
|
||||
*/
|
||||
|
|
|
@ -599,7 +599,8 @@ asmlinkage void __init start_kernel(void)
|
|||
sched_clock_init();
|
||||
profile_init();
|
||||
if (!irqs_disabled())
|
||||
printk("start_kernel(): bug: interrupts were enabled early\n");
|
||||
printk(KERN_CRIT "start_kernel(): bug: interrupts were "
|
||||
"enabled early\n");
|
||||
early_boot_irqs_on();
|
||||
local_irq_enable();
|
||||
|
||||
|
|
|
@ -475,7 +475,7 @@ pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
|
|||
EXPORT_SYMBOL(task_session_nr_ns);
|
||||
|
||||
/*
|
||||
* Used by proc to find the first pid that is greater then or equal to nr.
|
||||
* Used by proc to find the first pid that is greater than or equal to nr.
|
||||
*
|
||||
* If there is a pid at nr this function is exactly the same as find_pid_ns.
|
||||
*/
|
||||
|
|
|
@ -619,7 +619,7 @@ static int acquire_console_semaphore_for_printk(unsigned int cpu)
|
|||
static const char recursion_bug_msg [] =
|
||||
KERN_CRIT "BUG: recent printk recursion!\n";
|
||||
static int recursion_bug;
|
||||
static int new_text_line = 1;
|
||||
static int new_text_line = 1;
|
||||
static char printk_buf[1024];
|
||||
|
||||
asmlinkage int vprintk(const char *fmt, va_list args)
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
*
|
||||
* The value 8 is somewhat carefully chosen, as anything
|
||||
* larger can result in overflows. NSEC_PER_JIFFY grows as
|
||||
* HZ shrinks, so values greater then 8 overflow 32bits when
|
||||
* HZ shrinks, so values greater than 8 overflow 32bits when
|
||||
* HZ=100.
|
||||
*/
|
||||
#define JIFFIES_SHIFT 8
|
||||
|
|
|
@ -640,13 +640,14 @@ EXPORT_SYMBOL(radix_tree_tag_get);
|
|||
*
|
||||
* Returns: the index of the hole if found, otherwise returns an index
|
||||
* outside of the set specified (in which case 'return - index >= max_scan'
|
||||
* will be true).
|
||||
* will be true). In rare cases of index wrap-around, 0 will be returned.
|
||||
*
|
||||
* radix_tree_next_hole may be called under rcu_read_lock. However, like
|
||||
* radix_tree_gang_lookup, this will not atomically search a snapshot of the
|
||||
* tree at a single point in time. For example, if a hole is created at index
|
||||
* 5, then subsequently a hole is created at index 10, radix_tree_next_hole
|
||||
* covering both indexes may return 10 if called under rcu_read_lock.
|
||||
* radix_tree_gang_lookup, this will not atomically search a snapshot of
|
||||
* the tree at a single point in time. For example, if a hole is created
|
||||
* at index 5, then subsequently a hole is created at index 10,
|
||||
* radix_tree_next_hole covering both indexes may return 10 if called
|
||||
* under rcu_read_lock.
|
||||
*/
|
||||
unsigned long radix_tree_next_hole(struct radix_tree_root *root,
|
||||
unsigned long index, unsigned long max_scan)
|
||||
|
|
|
@ -2254,7 +2254,7 @@ static int calculate_sizes(struct kmem_cache *s, int forced_order)
|
|||
* Add some empty padding so that we can catch
|
||||
* overwrites from earlier objects rather than let
|
||||
* tracking information or the free pointer be
|
||||
* corrupted if an user writes before the start
|
||||
* corrupted if a user writes before the start
|
||||
* of the object.
|
||||
*/
|
||||
size += sizeof(void *);
|
||||
|
|
|
@ -141,8 +141,8 @@ void sctp_auth_destroy_keys(struct list_head *keys)
|
|||
/* Compare two byte vectors as numbers. Return values
|
||||
* are:
|
||||
* 0 - vectors are equal
|
||||
* < 0 - vector 1 is smaller then vector2
|
||||
* > 0 - vector 1 is greater then vector2
|
||||
* < 0 - vector 1 is smaller than vector2
|
||||
* > 0 - vector 1 is greater than vector2
|
||||
*
|
||||
* Algorithm is:
|
||||
* This is performed by selecting the numerically smaller key vector...
|
||||
|
|
|
@ -4268,9 +4268,9 @@ nomem:
|
|||
|
||||
/*
|
||||
* Handle a protocol violation when the chunk length is invalid.
|
||||
* "Invalid" length is identified as smaller then the minimal length a
|
||||
* "Invalid" length is identified as smaller than the minimal length a
|
||||
* given chunk can be. For example, a SACK chunk has invalid length
|
||||
* if it's length is set to be smaller then the size of sctp_sack_chunk_t.
|
||||
* if its length is set to be smaller than the size of sctp_sack_chunk_t.
|
||||
*
|
||||
* We inform the other end by sending an ABORT with a Protocol Violation
|
||||
* error code.
|
||||
|
@ -4300,7 +4300,7 @@ static sctp_disposition_t sctp_sf_violation_chunklen(
|
|||
|
||||
/*
|
||||
* Handle a protocol violation when the parameter length is invalid.
|
||||
* "Invalid" length is identified as smaller then the minimal length a
|
||||
* "Invalid" length is identified as smaller than the minimal length a
|
||||
* given parameter can be.
|
||||
*/
|
||||
static sctp_disposition_t sctp_sf_violation_paramlen(
|
||||
|
|
|
@ -2717,7 +2717,7 @@ static int sctp_setsockopt_associnfo(struct sock *sk, char __user *optval, int o
|
|||
paths++;
|
||||
}
|
||||
|
||||
/* Only validate asocmaxrxt if we have more then
|
||||
/* Only validate asocmaxrxt if we have more than
|
||||
* one path/transport. We do this because path
|
||||
* retransmissions are only counted when we have more
|
||||
* then one path.
|
||||
|
|
|
@ -227,7 +227,7 @@ void sctp_tsnmap_skip(struct sctp_tsnmap *map, __u32 tsn)
|
|||
*/
|
||||
bitmap_zero(map->tsn_map, map->len);
|
||||
} else {
|
||||
/* If the gap is smaller then the map size,
|
||||
/* If the gap is smaller than the map size,
|
||||
* shift the map by 'gap' bits and update further.
|
||||
*/
|
||||
bitmap_shift_right(map->tsn_map, map->tsn_map, gap, map->len);
|
||||
|
|
|
@ -157,7 +157,7 @@
|
|||
|
||||
Started Fri Mar 17 16:13:18 MET 1995
|
||||
|
||||
v0.1 (ALPHA, was an user-level program called AudioExcelDSP16.c)
|
||||
v0.1 (ALPHA, was a user-level program called AudioExcelDSP16.c)
|
||||
- Initial code.
|
||||
v0.2 (ALPHA)
|
||||
- Cleanups.
|
||||
|
|
|
@ -238,7 +238,7 @@ static void i_usX2Y_In04Int(struct urb *urb)
|
|||
send = 0;
|
||||
for (j = 0; j < URBS_AsyncSeq && !err; ++j)
|
||||
if (0 == usX2Y->AS04.urb[j]->status) {
|
||||
struct us428_p4out *p4out = us428ctls->p4out + send; // FIXME if more then 1 p4out is new, 1 gets lost.
|
||||
struct us428_p4out *p4out = us428ctls->p4out + send; // FIXME if more than 1 p4out is new, 1 gets lost.
|
||||
usb_fill_bulk_urb(usX2Y->AS04.urb[j], usX2Y->chip.dev,
|
||||
usb_sndbulkpipe(usX2Y->chip.dev, 0x04), &p4out->val.vol,
|
||||
p4out->type == eLT_Light ? sizeof(struct us428_lights) : 5,
|
||||
|
|
Loading…
Reference in a new issue