diff options
| -rw-r--r-- | Documentation/DocBook/mtdnand.tmpl | 2 | ||||
| -rw-r--r-- | Documentation/SubmitChecklist | 12 | ||||
| -rw-r--r-- | Documentation/development-process/2.Process | 29 | ||||
| -rw-r--r-- | Documentation/development-process/7.AdvancedTopics | 2 | ||||
| -rw-r--r-- | Documentation/timers/hpet_example.c | 2 | ||||
| -rw-r--r-- | Documentation/vm/map_hugetlb.c | 2 | ||||
| -rw-r--r-- | drivers/message/fusion/mptscsih.c | 6 | ||||
| -rw-r--r-- | drivers/scsi/scsi_scan.c | 26 |
8 files changed, 46 insertions, 35 deletions
diff --git a/Documentation/DocBook/mtdnand.tmpl b/Documentation/DocBook/mtdnand.tmpl index 133cd6c3f3c..020ac80d468 100644 --- a/Documentation/DocBook/mtdnand.tmpl +++ b/Documentation/DocBook/mtdnand.tmpl | |||
| @@ -269,7 +269,7 @@ static void board_hwcontrol(struct mtd_info *mtd, int cmd) | |||
| 269 | information about the device. | 269 | information about the device. |
| 270 | </para> | 270 | </para> |
| 271 | <programlisting> | 271 | <programlisting> |
| 272 | int __init board_init (void) | 272 | static int __init board_init (void) |
| 273 | { | 273 | { |
| 274 | struct nand_chip *this; | 274 | struct nand_chip *this; |
| 275 | int err = 0; | 275 | int err = 0; |
diff --git a/Documentation/SubmitChecklist b/Documentation/SubmitChecklist index 8916ca48bc9..da0382daa39 100644 --- a/Documentation/SubmitChecklist +++ b/Documentation/SubmitChecklist | |||
| @@ -18,6 +18,8 @@ kernel patches. | |||
| 18 | 18 | ||
| 19 | 2b: Passes allnoconfig, allmodconfig | 19 | 2b: Passes allnoconfig, allmodconfig |
| 20 | 20 | ||
| 21 | 2c: Builds successfully when using O=builddir | ||
| 22 | |||
| 21 | 3: Builds on multiple CPU architectures by using local cross-compile tools | 23 | 3: Builds on multiple CPU architectures by using local cross-compile tools |
| 22 | or some other build farm. | 24 | or some other build farm. |
| 23 | 25 | ||
| @@ -95,3 +97,13 @@ kernel patches. | |||
| 95 | 97 | ||
| 96 | 25: If any ioctl's are added by the patch, then also update | 98 | 25: If any ioctl's are added by the patch, then also update |
| 97 | Documentation/ioctl/ioctl-number.txt. | 99 | Documentation/ioctl/ioctl-number.txt. |
| 100 | |||
| 101 | 26: If your modified source code depends on or uses any of the kernel | ||
| 102 | APIs or features that are related to the following kconfig symbols, | ||
| 103 | then test multiple builds with the related kconfig symbols disabled | ||
| 104 | and/or =m (if that option is available) [not all of these at the | ||
| 105 | same time, just various/random combinations of them]: | ||
| 106 | |||
| 107 | CONFIG_SMP, CONFIG_SYSFS, CONFIG_PROC_FS, CONFIG_INPUT, CONFIG_PCI, | ||
| 108 | CONFIG_BLOCK, CONFIG_PM, CONFIG_HOTPLUG, CONFIG_MAGIC_SYSRQ, | ||
| 109 | CONFIG_NET, CONFIG_INET=n (but latter with CONFIG_NET=y) | ||
diff --git a/Documentation/development-process/2.Process b/Documentation/development-process/2.Process index d750321acd5..97726eba610 100644 --- a/Documentation/development-process/2.Process +++ b/Documentation/development-process/2.Process | |||
| @@ -151,7 +151,7 @@ The stages that a patch goes through are, generally: | |||
| 151 | well. | 151 | well. |
| 152 | 152 | ||
| 153 | - Wider review. When the patch is getting close to ready for mainline | 153 | - Wider review. When the patch is getting close to ready for mainline |
| 154 | inclusion, it will be accepted by a relevant subsystem maintainer - | 154 | inclusion, it should be accepted by a relevant subsystem maintainer - |
| 155 | though this acceptance is not a guarantee that the patch will make it | 155 | though this acceptance is not a guarantee that the patch will make it |
| 156 | all the way to the mainline. The patch will show up in the maintainer's | 156 | all the way to the mainline. The patch will show up in the maintainer's |
| 157 | subsystem tree and into the staging trees (described below). When the | 157 | subsystem tree and into the staging trees (described below). When the |
| @@ -159,6 +159,15 @@ The stages that a patch goes through are, generally: | |||
| 159 | the discovery of any problems resulting from the integration of this | 159 | the discovery of any problems resulting from the integration of this |
| 160 | patch with work being done by others. | 160 | patch with work being done by others. |
| 161 | 161 | ||
| 162 | - Please note that most maintainers also have day jobs, so merging | ||
| 163 | your patch may not be their highest priority. If your patch is | ||
| 164 | getting feedback about changes that are needed, you should either | ||
| 165 | make those changes or justify why they should not be made. If your | ||
| 166 | patch has no review complaints but is not being merged by its | ||
| 167 | appropriate subsystem or driver maintainer, you should be persistent | ||
| 168 | in updating the patch to the current kernel so that it applies cleanly | ||
| 169 | and keep sending it for review and merging. | ||
| 170 | |||
| 162 | - Merging into the mainline. Eventually, a successful patch will be | 171 | - Merging into the mainline. Eventually, a successful patch will be |
| 163 | merged into the mainline repository managed by Linus Torvalds. More | 172 | merged into the mainline repository managed by Linus Torvalds. More |
| 164 | comments and/or problems may surface at this time; it is important that | 173 | comments and/or problems may surface at this time; it is important that |
| @@ -258,12 +267,8 @@ an appropriate subsystem tree or be sent directly to Linus. In a typical | |||
| 258 | development cycle, approximately 10% of the patches going into the mainline | 267 | development cycle, approximately 10% of the patches going into the mainline |
| 259 | get there via -mm. | 268 | get there via -mm. |
| 260 | 269 | ||
| 261 | The current -mm patch can always be found from the front page of | 270 | The current -mm patch is available in the "mmotm" (-mm of the moment) |
| 262 | 271 | directory at: | |
| 263 | http://kernel.org/ | ||
| 264 | |||
| 265 | Those who want to see the current state of -mm can get the "-mm of the | ||
| 266 | moment" tree, found at: | ||
| 267 | 272 | ||
| 268 | http://userweb.kernel.org/~akpm/mmotm/ | 273 | http://userweb.kernel.org/~akpm/mmotm/ |
| 269 | 274 | ||
| @@ -298,6 +303,12 @@ volatility of linux-next tends to make it a difficult development target. | |||
| 298 | See http://lwn.net/Articles/289013/ for more information on this topic, and | 303 | See http://lwn.net/Articles/289013/ for more information on this topic, and |
| 299 | stay tuned; much is still in flux where linux-next is involved. | 304 | stay tuned; much is still in flux where linux-next is involved. |
| 300 | 305 | ||
| 306 | Besides the mmotm and linux-next trees, the kernel source tree now contains | ||
| 307 | the drivers/staging/ directory and many sub-directories for drivers or | ||
| 308 | filesystems that are on their way to being added to the kernel tree | ||
| 309 | proper, but they remain in drivers/staging/ while they still need more | ||
| 310 | work. | ||
| 311 | |||
| 301 | 312 | ||
| 302 | 2.5: TOOLS | 313 | 2.5: TOOLS |
| 303 | 314 | ||
| @@ -319,9 +330,9 @@ developers; even if they do not use it for their own work, they'll need git | |||
| 319 | to keep up with what other developers (and the mainline) are doing. | 330 | to keep up with what other developers (and the mainline) are doing. |
| 320 | 331 | ||
| 321 | Git is now packaged by almost all Linux distributions. There is a home | 332 | Git is now packaged by almost all Linux distributions. There is a home |
| 322 | page at | 333 | page at: |
| 323 | 334 | ||
| 324 | http://git.or.cz/ | 335 | http://git-scm.com/ |
| 325 | 336 | ||
| 326 | That page has pointers to documentation and tutorials. One should be | 337 | That page has pointers to documentation and tutorials. One should be |
| 327 | aware, in particular, of the Kernel Hacker's Guide to git, which has | 338 | aware, in particular, of the Kernel Hacker's Guide to git, which has |
diff --git a/Documentation/development-process/7.AdvancedTopics b/Documentation/development-process/7.AdvancedTopics index a2cf74093aa..837179447e1 100644 --- a/Documentation/development-process/7.AdvancedTopics +++ b/Documentation/development-process/7.AdvancedTopics | |||
| @@ -25,7 +25,7 @@ long document in its own right. Instead, the focus here will be on how git | |||
| 25 | fits into the kernel development process in particular. Developers who | 25 | fits into the kernel development process in particular. Developers who |
| 26 | wish to come up to speed with git will find more information at: | 26 | wish to come up to speed with git will find more information at: |
| 27 | 27 | ||
| 28 | http://git.or.cz/ | 28 | http://git-scm.com/ |
| 29 | 29 | ||
| 30 | http://www.kernel.org/pub/software/scm/git/docs/user-manual.html | 30 | http://www.kernel.org/pub/software/scm/git/docs/user-manual.html |
| 31 | 31 | ||
diff --git a/Documentation/timers/hpet_example.c b/Documentation/timers/hpet_example.c index f9ce2d9fdfd..4bfafb7bc4c 100644 --- a/Documentation/timers/hpet_example.c +++ b/Documentation/timers/hpet_example.c | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | #include <sys/types.h> | 10 | #include <sys/types.h> |
| 11 | #include <sys/wait.h> | 11 | #include <sys/wait.h> |
| 12 | #include <signal.h> | 12 | #include <signal.h> |
| 13 | #include <fcntl.h> | ||
| 14 | #include <errno.h> | 13 | #include <errno.h> |
| 15 | #include <sys/time.h> | 14 | #include <sys/time.h> |
| 16 | #include <linux/hpet.h> | 15 | #include <linux/hpet.h> |
| @@ -24,7 +23,6 @@ extern void hpet_read(int, const char **); | |||
| 24 | 23 | ||
| 25 | #include <sys/poll.h> | 24 | #include <sys/poll.h> |
| 26 | #include <sys/ioctl.h> | 25 | #include <sys/ioctl.h> |
| 27 | #include <signal.h> | ||
| 28 | 26 | ||
| 29 | struct hpet_command { | 27 | struct hpet_command { |
| 30 | char *command; | 28 | char *command; |
diff --git a/Documentation/vm/map_hugetlb.c b/Documentation/vm/map_hugetlb.c index 9969c7d9f98..eda1a6d3578 100644 --- a/Documentation/vm/map_hugetlb.c +++ b/Documentation/vm/map_hugetlb.c | |||
| @@ -19,7 +19,7 @@ | |||
| 19 | #define PROTECTION (PROT_READ | PROT_WRITE) | 19 | #define PROTECTION (PROT_READ | PROT_WRITE) |
| 20 | 20 | ||
| 21 | #ifndef MAP_HUGETLB | 21 | #ifndef MAP_HUGETLB |
| 22 | #define MAP_HUGETLB 0x40 | 22 | #define MAP_HUGETLB 0x40000 /* arch specific */ |
| 23 | #endif | 23 | #endif |
| 24 | 24 | ||
| 25 | /* Only ia64 requires this */ | 25 | /* Only ia64 requires this */ |
diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c index 7bd4c0fc23c..5c53624e0e8 100644 --- a/drivers/message/fusion/mptscsih.c +++ b/drivers/message/fusion/mptscsih.c | |||
| @@ -2570,9 +2570,7 @@ mptscsih_getclear_scsi_lookup(MPT_ADAPTER *ioc, int i) | |||
| 2570 | } | 2570 | } |
| 2571 | 2571 | ||
| 2572 | /** | 2572 | /** |
| 2573 | * mptscsih_set_scsi_lookup | 2573 | * mptscsih_set_scsi_lookup - write a scmd entry into the ScsiLookup[] array list |
| 2574 | * | ||
| 2575 | * writes a scmd entry into the ScsiLookup[] array list | ||
| 2576 | * | 2574 | * |
| 2577 | * @ioc: Pointer to MPT_ADAPTER structure | 2575 | * @ioc: Pointer to MPT_ADAPTER structure |
| 2578 | * @i: index into the array | 2576 | * @i: index into the array |
| @@ -2735,7 +2733,7 @@ mptscsih_scandv_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *req, | |||
| 2735 | 2733 | ||
| 2736 | 2734 | ||
| 2737 | /** | 2735 | /** |
| 2738 | * mptscsih_get_completion_code - | 2736 | * mptscsih_get_completion_code - get completion code from MPT request |
| 2739 | * @ioc: Pointer to MPT_ADAPTER structure | 2737 | * @ioc: Pointer to MPT_ADAPTER structure |
| 2740 | * @req: Pointer to original MPT request frame | 2738 | * @req: Pointer to original MPT request frame |
| 2741 | * @reply: Pointer to MPT reply frame (NULL if TurboReply) | 2739 | * @reply: Pointer to MPT reply frame (NULL if TurboReply) |
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index c992ecf4e37..9798c2c06b9 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c | |||
| @@ -1220,7 +1220,7 @@ static void scsi_sequential_lun_scan(struct scsi_target *starget, | |||
| 1220 | } | 1220 | } |
| 1221 | 1221 | ||
| 1222 | /** | 1222 | /** |
| 1223 | * scsilun_to_int: convert a scsi_lun to an int | 1223 | * scsilun_to_int - convert a scsi_lun to an int |
| 1224 | * @scsilun: struct scsi_lun to be converted. | 1224 | * @scsilun: struct scsi_lun to be converted. |
| 1225 | * | 1225 | * |
| 1226 | * Description: | 1226 | * Description: |
| @@ -1252,7 +1252,7 @@ int scsilun_to_int(struct scsi_lun *scsilun) | |||
| 1252 | EXPORT_SYMBOL(scsilun_to_int); | 1252 | EXPORT_SYMBOL(scsilun_to_int); |
| 1253 | 1253 | ||
| 1254 | /** | 1254 | /** |
| 1255 | * int_to_scsilun: reverts an int into a scsi_lun | 1255 | * int_to_scsilun - reverts an int into a scsi_lun |
| 1256 | * @lun: integer to be reverted | 1256 | * @lun: integer to be reverted |
| 1257 | * @scsilun: struct scsi_lun to be set. | 1257 | * @scsilun: struct scsi_lun to be set. |
| 1258 | * | 1258 | * |
| @@ -1876,12 +1876,9 @@ void scsi_forget_host(struct Scsi_Host *shost) | |||
| 1876 | spin_unlock_irqrestore(shost->host_lock, flags); | 1876 | spin_unlock_irqrestore(shost->host_lock, flags); |
| 1877 | } | 1877 | } |
| 1878 | 1878 | ||
| 1879 | /* | 1879 | /** |
| 1880 | * Function: scsi_get_host_dev() | 1880 | * scsi_get_host_dev - Create a scsi_device that points to the host adapter itself |
| 1881 | * | 1881 | * @shost: Host that needs a scsi_device |
| 1882 | * Purpose: Create a scsi_device that points to the host adapter itself. | ||
| 1883 | * | ||
| 1884 | * Arguments: SHpnt - Host that needs a scsi_device | ||
| 1885 | * | 1882 | * |
| 1886 | * Lock status: None assumed. | 1883 | * Lock status: None assumed. |
| 1887 | * | 1884 | * |
| @@ -1894,7 +1891,7 @@ void scsi_forget_host(struct Scsi_Host *shost) | |||
| 1894 | * | 1891 | * |
| 1895 | * Note - this device is not accessible from any high-level | 1892 | * Note - this device is not accessible from any high-level |
| 1896 | * drivers (including generics), which is probably not | 1893 | * drivers (including generics), which is probably not |
| 1897 | * optimal. We can add hooks later to attach | 1894 | * optimal. We can add hooks later to attach. |
| 1898 | */ | 1895 | */ |
| 1899 | struct scsi_device *scsi_get_host_dev(struct Scsi_Host *shost) | 1896 | struct scsi_device *scsi_get_host_dev(struct Scsi_Host *shost) |
| 1900 | { | 1897 | { |
| @@ -1920,18 +1917,13 @@ struct scsi_device *scsi_get_host_dev(struct Scsi_Host *shost) | |||
| 1920 | } | 1917 | } |
| 1921 | EXPORT_SYMBOL(scsi_get_host_dev); | 1918 | EXPORT_SYMBOL(scsi_get_host_dev); |
| 1922 | 1919 | ||
| 1923 | /* | 1920 | /** |
| 1924 | * Function: scsi_free_host_dev() | 1921 | * scsi_free_host_dev - Free a scsi_device that points to the host adapter itself |
| 1925 | * | 1922 | * @sdev: Host device to be freed |
| 1926 | * Purpose: Free a scsi_device that points to the host adapter itself. | ||
| 1927 | * | ||
| 1928 | * Arguments: SHpnt - Host that needs a scsi_device | ||
| 1929 | * | 1923 | * |
| 1930 | * Lock status: None assumed. | 1924 | * Lock status: None assumed. |
| 1931 | * | 1925 | * |
| 1932 | * Returns: Nothing | 1926 | * Returns: Nothing |
| 1933 | * | ||
| 1934 | * Notes: | ||
| 1935 | */ | 1927 | */ |
| 1936 | void scsi_free_host_dev(struct scsi_device *sdev) | 1928 | void scsi_free_host_dev(struct scsi_device *sdev) |
| 1937 | { | 1929 | { |
