Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation Fix] LSM Hooks #675

Closed
wants to merge 3 commits into from

Conversation

ayushr2
Copy link
Contributor

@ayushr2 ayushr2 commented May 3, 2019

Purpose
This PR aims to fix the documentation of bprm_set_creds and bprm_check_security hooks.

Issue
Earlier the docstrings erroneously used @bprm->security. However, the struct linux_binprm does not have a security field. It has a cred field which in turn has the desired security void *. Hence the correct

Fix
The correct usage should be @bprm->cred->security. Hence I replaced all occurrences of @bprm->security with the correct one.

SELinux too uses bprm->cred->security in their codebase.

@KernelPRBot
Copy link

Hi @ayushr2!

Thanks for your contribution to the Linux kernel!

Linux kernel development happens on mailing lists, rather than on GitHub - this GitHub repository is a read-only mirror that isn't used for accepting contributions. So that your change can become part of Linux, please email it to us as a patch.

Sending patches isn't quite as simple as sending a pull request, but fortunately it is a well documented process.

Here's what to do:

  • Format your contribution according to kernel requirements
  • Decide who to send your contribution to
  • Set up your system to send your contribution as an email
  • Send your contribution and wait for feedback

How do I format my contribution?

The Linux kernel community is notoriously picky about how contributions are formatted and sent. Fortunately, they have documented their expectations.

Firstly, all contributions need to be formatted as patches. A patch is a plain text document showing the change you want to make to the code, and documenting why it is a good idea.

You can create patches with git format-patch.

Secondly, patches need 'commit messages', which is the human-friendly documentation explaining what the change is and why it's necessary.

Thirdly, changes have some technical requirements. There is a Linux kernel coding style, and there are licensing requirements you need to comply with.

Both of these are documented in the Submitting Patches documentation that is part of the kernel.

Note that you will almost certainly have to modify your existing git commits to satisfy these requirements. Don't worry: there are many guides on the internet for doing this.

Who do I send my contribution to?

The Linux kernel is composed of a number of subsystems. These subsystems are maintained by different people, and have different mailing lists where they discuss proposed changes.

If you don't already know what subsystem your change belongs to, the get_maintainer.pl script in the kernel source can help you.

get_maintainer.pl will take the patch or patches you created in the previous step, and tell you who is responsible for them, and what mailing lists are used. You can also take a look at the MAINTAINERS file by hand.

Make sure that your list of recipients includes a mailing list. If you can't find a more specific mailing list, then LKML - the Linux Kernel Mailing List - is the place to send your patches.

It's not usually necessary to subscribe to the mailing list before you send the patches, but if you're interested in kernel development, subscribing to a subsystem mailing list is a good idea. (At this point, you probably don't need to subscribe to LKML - it is a very high traffic list with about a thousand messages per day, which is often not useful for beginners.)

How do I send my contribution?

Use git send-email, which will ensure that your patches are formatted in the standard manner. In order to use git send-email, you'll need to configure git to use your SMTP email server.

For more information about using git send-email, look at the Git documentation or type git help send-email. There are a number of useful guides and tutorials about git send-email that can be found on the internet.

How do I get help if I'm stuck?

Firstly, don't get discouraged! There are an enormous number of resources on the internet, and many kernel developers who would like to see you succeed.

Many issues - especially about how to use certain tools - can be resolved by using your favourite internet search engine.

If you can't find an answer, there are a few places you can turn:

If you get really, really stuck, you could try the owners of this bot, @daxtens and @ajdlinux. Please be aware that we do have full-time jobs, so we are almost certainly the slowest way to get answers!

I sent my patch - now what?

You wait.

You can check that your email has been received by checking the mailing list archives for the mailing list you sent your patch to. Messages may not be received instantly, so be patient. Kernel developers are generally very busy people, so it may take a few weeks before your patch is looked at.

Then, you keep waiting. Three things may happen:

  • You might get a response to your email. Often these will be comments, which may require you to make changes to your patch, or explain why your way is the best way. You should respond to these comments, and you may need to submit another revision of your patch to address the issues raised.
  • Your patch might be merged into the subsystem tree. Code that becomes part of Linux isn't merged into the main repository straight away - it first goes into the subsystem tree, which is managed by the subsystem maintainer. It is then batched up with a number of other changes sent to Linus for inclusion. (This process is described in some detail in the kernel development process guide).
  • Your patch might be ignored completely. This happens sometimes - don't take it personally. Here's what to do:
    • Wait a bit more - patches often take several weeks to get a response; more if they were sent at a busy time.
    • Kernel developers often silently ignore patches that break the rules. Check for obvious violations of the Submitting Patches guidelines, the style guidelines, and any other documentation you can find about your subsystem. Check that you're sending your patch to the right place.
    • Try again later. When you resend it, don't add angry commentary, as that will get your patch ignored. It might also get you silently blacklisted.

Further information

Happy hacking!

This message was posted by a bot - if you have any questions or suggestions, please talk to my owners, @ajdlinux and @daxtens, or raise an issue at https://github.com/ajdlinux/KernelPRBot.

@ayushr2 ayushr2 closed this Aug 24, 2019
tmlind pushed a commit to tmlind/linux that referenced this pull request Nov 17, 2020
because it leads to system crash:

[  198.398193] ------------[ cut here ]------------
[  198.403091] WARNING: CPU: 0 PID: 0 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x214/0x334
[  198.412729] 44000000.ocp:L3 Standard Error: MASTER MPU TARGET SGX (Read Link): At Address: 0x00000134 : Data Access in User mode during Functional access
[  198.427201] Modules linked in: pvrsrvkm_omap_omap5_sgx544_116(C) cdc_ether usbnet cdc_acm usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs arc4 bnep wl18xx wlcore mac80211 cfg80211 dwc3 panel_boe_w677l omapdrm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm drm_panel_orientation_quirks omapdss leds_gpio connector_hdmi encoder_tpd12s015 wwan_on_off cec omapdss_base pwm_bl pwm_omap_dmtimer generic_adc_battery ehci_omap wlcore_sdio tca8418_keypad leds_is31fl319x dwc3_omap ina2xx bmp280_spi bq27xxx_battery_i2c bq27xxx_battery bq2429x_charger gpio_twl6040 tsc2007 crtouch_mt palmas_pwrbutton as5013 twl6040_vibra hci_uart bluetooth palmas_gpadc usb3503 ecdh_generic bmc150_magn_i2c bmg160_i2c bmc150_accel_i2c bmc150_accel_core bmg160_core bmc150_magn bno055 industrialio_triggered_buffer
[  198.502858]  bmp280_i2c bmp280 kfifo_buf industrialio ip_tables x_tables ipv6 autofs4 [last unloaded: pvrsrvkm_omap_omap5_sgx544_116]
[  198.515562] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        WC        4.19.4-letux-lpae+ torvalds#675
[  198.524555] Hardware name: Generic OMAP5 (Flattened Device Tree)
[  198.530912] [<c02109d0>] (unwind_backtrace) from [<c020be20>] (show_stack+0x10/0x14)
[  198.539135] [<c020be20>] (show_stack) from [<c0870634>] (dump_stack+0x7c/0x9c)
[  198.546803] [<c0870634>] (dump_stack) from [<c022d8e4>] (__warn+0xd8/0x108)
[  198.554188] [<c022d8e4>] (__warn) from [<c022d958>] (warn_slowpath_fmt+0x44/0x6c)
[  198.562131] [<c022d958>] (warn_slowpath_fmt) from [<c0549864>] (l3_interrupt_handler+0x214/0x334)
[  198.571546] [<c0549864>] (l3_interrupt_handler) from [<c0276300>] (__handle_irq_event_percpu+0xa8/0x264)
[  198.581606] [<c0276300>] (__handle_irq_event_percpu) from [<c02764e0>] (handle_irq_event_percpu+0x24/0x78)
[  198.591849] [<c02764e0>] (handle_irq_event_percpu) from [<c027656c>] (handle_irq_event+0x38/0x5c)
[  198.601259] [<c027656c>] (handle_irq_event) from [<c027a1a4>] (handle_fasteoi_irq+0xa8/0x124)
[  198.610300] [<c027a1a4>] (handle_fasteoi_irq) from [<c02756f8>] (generic_handle_irq+0x18/0x28)
[  198.619436] [<c02756f8>] (generic_handle_irq) from [<c0275c8c>] (__handle_domain_irq+0x8c/0xb4)
[  198.628664] [<c0275c8c>] (__handle_domain_irq) from [<c0547e94>] (gic_handle_irq+0x54/0x90)
[  198.637522] [<c0547e94>] (gic_handle_irq) from [<c02019f8>] (__irq_svc+0x58/0x8c)
[  198.645449] Exception stack(0xc0e01e10 to 0xc0e01e58)
[  198.650805] 1e00:                                     3173de93 c0c85e00 00000000 2e346000
[  198.659472] 1e20: c0c85e00 c0c85e00 00000200 00200102 c0e01e60 c0e00000 0000000a 00000001
[  198.668134] 1e40: 0000000b c0e01e60 c029dd2c c02020cc 400c0113 ffffffff
[  198.675152] [<c02019f8>] (__irq_svc) from [<c02020cc>] (__do_softirq+0x8c/0x3a4)
[  198.683001] [<c02020cc>] (__do_softirq) from [<c0233700>] (irq_exit+0x78/0xd8)
[  198.690666] [<c0233700>] (irq_exit) from [<c0275c90>] (__handle_domain_irq+0x90/0xb4)
[  198.698974] [<c0275c90>] (__handle_domain_irq) from [<c0547e94>] (gic_handle_irq+0x54/0x90)
[  198.707831] [<c0547e94>] (gic_handle_irq) from [<c02019f8>] (__irq_svc+0x58/0x8c)
[  198.715756] Exception stack(0xc0e01ee0 to 0xc0e01f28)
[  198.721113] 1ee0: 00000000 eefcfb40 00000001 00000008 eefcb638 00000001 00000001 c0e8d2d8
[  198.729776] 1f00: 310ead9a 0000002e 00000000 00000001 00000000 c0e01f30 c029d7e4 c0739b98
[  198.738435] 1f20: 200c0013 ffffffff
[  198.742142] [<c02019f8>] (__irq_svc) from [<c0739b98>] (cpuidle_enter_state+0x284/0x440)
[  198.750729] [<c0739b98>] (cpuidle_enter_state) from [<c0258bb4>] (do_idle+0x1cc/0x260)
[  198.759129] [<c0258bb4>] (do_idle) from [<c0258ed8>] (cpu_startup_entry+0x18/0x1c)
[  198.767161] [<c0258ed8>] (cpu_startup_entry) from [<c0c00db4>] (start_kernel+0x3f4/0x490)
[  198.775827] ---[ end trace f132b21e3445e2ad ]---
[  198.780802] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
fengguang pushed a commit to 0day-ci/linux that referenced this pull request Mar 12, 2021
This commit fixes the following checkpatch.pl warnings:

    WARNING: do not add new typedefs
    torvalds#95: FILE: hal/odm.h:95:
    +typedef struct _Rate_Adaptive_Table_ {

    WARNING: do not add new typedefs
    torvalds#99: FILE: hal/odm.h:99:
    +typedef struct _RX_High_Power_ {

    WARNING: do not add new typedefs
    torvalds#129: FILE: hal/odm.h:129:
    +typedef struct _SW_Antenna_Switch_ {

    WARNING: do not add new typedefs
    torvalds#181: FILE: hal/odm.h:181:
    +typedef struct _ODM_RATE_ADAPTIVE {

    WARNING: do not add new typedefs
    torvalds#280: FILE: hal/odm.h:280:
    +typedef enum tag_Dynamic_ODM_Support_Ability_Type {

    WARNING: do not add new typedefs
    torvalds#300: FILE: hal/odm.h:300:
    +typedef struct _ODM_STA_INFO {

    WARNING: do not add new typedefs
    torvalds#328: FILE: hal/odm.h:328:
    +typedef enum _ODM_Common_Info_Definition {

    WARNING: do not add new typedefs
    torvalds#418: FILE: hal/odm.h:418:
    +typedef enum _ODM_Support_Ability_Definition {

    WARNING: do not add new typedefs
    torvalds#449: FILE: hal/odm.h:449:
    +typedef enum tag_ODM_Support_Interface_Definition {

    WARNING: do not add new typedefs
    torvalds#455: FILE: hal/odm.h:455:
    +typedef enum tag_ODM_Support_IC_Type_Definition {

    WARNING: do not add new typedefs
    torvalds#460: FILE: hal/odm.h:460:
    +typedef enum tag_ODM_Cut_Version_Definition {

    WARNING: do not add new typedefs
    torvalds#475: FILE: hal/odm.h:475:
    +typedef enum tag_ODM_Fab_Version_Definition {

    WARNING: do not add new typedefs
    torvalds#484: FILE: hal/odm.h:484:
    +typedef enum tag_ODM_RF_Path_Bit_Definition {

    WARNING: do not add new typedefs
    torvalds#495: FILE: hal/odm.h:495:
    +typedef enum tag_ODM_RF_Type_Definition {

    WARNING: do not add new typedefs
    torvalds#516: FILE: hal/odm.h:516:
    +typedef enum tag_ODM_MAC_PHY_Mode_Definition {

    WARNING: do not add new typedefs
    torvalds#522: FILE: hal/odm.h:522:
    +typedef enum tag_BT_Coexist_Definition {

    WARNING: do not add new typedefs
    torvalds#530: FILE: hal/odm.h:530:
    +typedef enum tag_Operation_Mode_Definition {

    WARNING: do not add new typedefs
    torvalds#543: FILE: hal/odm.h:543:
    +typedef enum tag_Wireless_Mode_Definition {

    WARNING: do not add new typedefs
    torvalds#555: FILE: hal/odm.h:555:
    +typedef enum tag_Band_Type_Definition {

    WARNING: do not add new typedefs
    torvalds#563: FILE: hal/odm.h:563:
    +typedef enum tag_Secondary_Channel_Offset_Definition {

    WARNING: do not add new typedefs
    torvalds#570: FILE: hal/odm.h:570:
    +typedef enum tag_Security_Definition {

    WARNING: do not add new typedefs
    torvalds#582: FILE: hal/odm.h:582:
    +typedef enum tag_Bandwidth_Definition {

    WARNING: do not add new typedefs
    torvalds#593: FILE: hal/odm.h:593:
    +typedef enum tag_Board_Definition {

    WARNING: do not add new typedefs
    torvalds#605: FILE: hal/odm.h:605:
    +typedef enum tag_ODM_Package_Definition {

    WARNING: do not add new typedefs
    torvalds#612: FILE: hal/odm.h:612:
    +typedef enum tag_ODM_TYPE_GPA_Definition {

    WARNING: do not add new typedefs
    torvalds#617: FILE: hal/odm.h:617:
    +typedef enum tag_ODM_TYPE_APA_Definition {

    WARNING: do not add new typedefs
    torvalds#622: FILE: hal/odm.h:622:
    +typedef enum tag_ODM_TYPE_GLNA_Definition {

    WARNING: do not add new typedefs
    torvalds#629: FILE: hal/odm.h:629:
    +typedef enum tag_ODM_TYPE_ALNA_Definition {

    WARNING: do not add new typedefs
    torvalds#637: FILE: hal/odm.h:637:
    +typedef enum tag_CCA_Path {

    WARNING: do not add new typedefs
    torvalds#643: FILE: hal/odm.h:643:
    +typedef struct _ODM_RA_Info_ {

    WARNING: do not add new typedefs
    torvalds#675: FILE: hal/odm.h:675:
    +typedef struct _IQK_MATRIX_REGS_SETTING {

    WARNING: do not add new typedefs
    torvalds#683: FILE: hal/odm.h:683:
    +typedef struct ODM_RF_Calibration_Structure {

    WARNING: do not add new typedefs
    #788: FILE: hal/odm.h:788:
    +typedef struct _FAST_ANTENNA_TRAINNING_ {

    WARNING: do not add new typedefs
    torvalds#828: FILE: hal/odm.h:828:
    +typedef enum _FAT_STATE {

    WARNING: do not add new typedefs
    torvalds#833: FILE: hal/odm.h:833:
    +typedef enum _ANT_DIV_TYPE {

    WARNING: do not add new typedefs
    torvalds#843: FILE: hal/odm.h:843:
    +typedef struct _ODM_PATH_DIVERSITY_ {

    WARNING: do not add new typedefs
    torvalds#852: FILE: hal/odm.h:852:
    +typedef enum _BASEBAND_CONFIG_PHY_REG_PG_VALUE_TYPE {

    WARNING: do not add new typedefs
    torvalds#860: FILE: hal/odm.h:860:
    +typedef struct _ANT_DETECTED_INFO {

    WARNING: do not add new typedefs
    torvalds#870: FILE: hal/odm.h:870:
    +typedef  struct DM_Out_Source_Dynamic_Mechanism_Structure {

    WARNING: do not add new typedefs
    #1229: FILE: hal/odm.h:1229:
    + typedef enum _ODM_RF_CONTENT {

    WARNING: do not add new typedefs
    #1236: FILE: hal/odm.h:1236:
    +typedef enum _ODM_BB_Config_Type {

    WARNING: do not add new typedefs
    #1246: FILE: hal/odm.h:1246:
    +typedef enum _ODM_RF_Config_Type {

    WARNING: do not add new typedefs
    #1251: FILE: hal/odm.h:1251:
    +typedef enum _ODM_FW_Config_Type {

    WARNING: do not add new typedefs
    #1262: FILE: hal/odm.h:1262:
    +typedef enum _RT_STATUS {

    WARNING: do not add new typedefs
    #1319: FILE: hal/odm.h:1319:
    +typedef enum tag_1R_CCA_Type_Definition {

    WARNING: do not add new typedefs
    #1325: FILE: hal/odm.h:1325:
    +typedef enum tag_RF_Type_Definition {

    WARNING: do not add new typedefs
    #1334: FILE: hal/odm.h:1334:
    +typedef enum tag_SW_Antenna_Switch_Definition {

Signed-off-by: Marco Cesati <marco.cesati@gmail.com>
fengguang pushed a commit to 0day-ci/linux that referenced this pull request Mar 13, 2021
This commit fixes the following checkpatch.pl warnings:

    WARNING: do not add new typedefs
    torvalds#95: FILE: hal/odm.h:95:
    +typedef struct _Rate_Adaptive_Table_ {

    WARNING: do not add new typedefs
    torvalds#99: FILE: hal/odm.h:99:
    +typedef struct _RX_High_Power_ {

    WARNING: do not add new typedefs
    torvalds#129: FILE: hal/odm.h:129:
    +typedef struct _SW_Antenna_Switch_ {

    WARNING: do not add new typedefs
    torvalds#181: FILE: hal/odm.h:181:
    +typedef struct _ODM_RATE_ADAPTIVE {

    WARNING: do not add new typedefs
    torvalds#280: FILE: hal/odm.h:280:
    +typedef enum tag_Dynamic_ODM_Support_Ability_Type {

    WARNING: do not add new typedefs
    torvalds#300: FILE: hal/odm.h:300:
    +typedef struct _ODM_STA_INFO {

    WARNING: do not add new typedefs
    torvalds#328: FILE: hal/odm.h:328:
    +typedef enum _ODM_Common_Info_Definition {

    WARNING: do not add new typedefs
    torvalds#418: FILE: hal/odm.h:418:
    +typedef enum _ODM_Support_Ability_Definition {

    WARNING: do not add new typedefs
    torvalds#449: FILE: hal/odm.h:449:
    +typedef enum tag_ODM_Support_Interface_Definition {

    WARNING: do not add new typedefs
    torvalds#455: FILE: hal/odm.h:455:
    +typedef enum tag_ODM_Support_IC_Type_Definition {

    WARNING: do not add new typedefs
    torvalds#460: FILE: hal/odm.h:460:
    +typedef enum tag_ODM_Cut_Version_Definition {

    WARNING: do not add new typedefs
    torvalds#475: FILE: hal/odm.h:475:
    +typedef enum tag_ODM_Fab_Version_Definition {

    WARNING: do not add new typedefs
    torvalds#484: FILE: hal/odm.h:484:
    +typedef enum tag_ODM_RF_Path_Bit_Definition {

    WARNING: do not add new typedefs
    torvalds#495: FILE: hal/odm.h:495:
    +typedef enum tag_ODM_RF_Type_Definition {

    WARNING: do not add new typedefs
    torvalds#516: FILE: hal/odm.h:516:
    +typedef enum tag_ODM_MAC_PHY_Mode_Definition {

    WARNING: do not add new typedefs
    torvalds#522: FILE: hal/odm.h:522:
    +typedef enum tag_BT_Coexist_Definition {

    WARNING: do not add new typedefs
    torvalds#530: FILE: hal/odm.h:530:
    +typedef enum tag_Operation_Mode_Definition {

    WARNING: do not add new typedefs
    torvalds#543: FILE: hal/odm.h:543:
    +typedef enum tag_Wireless_Mode_Definition {

    WARNING: do not add new typedefs
    torvalds#555: FILE: hal/odm.h:555:
    +typedef enum tag_Band_Type_Definition {

    WARNING: do not add new typedefs
    torvalds#563: FILE: hal/odm.h:563:
    +typedef enum tag_Secondary_Channel_Offset_Definition {

    WARNING: do not add new typedefs
    torvalds#570: FILE: hal/odm.h:570:
    +typedef enum tag_Security_Definition {

    WARNING: do not add new typedefs
    torvalds#582: FILE: hal/odm.h:582:
    +typedef enum tag_Bandwidth_Definition {

    WARNING: do not add new typedefs
    torvalds#593: FILE: hal/odm.h:593:
    +typedef enum tag_Board_Definition {

    WARNING: do not add new typedefs
    torvalds#605: FILE: hal/odm.h:605:
    +typedef enum tag_ODM_Package_Definition {

    WARNING: do not add new typedefs
    torvalds#612: FILE: hal/odm.h:612:
    +typedef enum tag_ODM_TYPE_GPA_Definition {

    WARNING: do not add new typedefs
    torvalds#617: FILE: hal/odm.h:617:
    +typedef enum tag_ODM_TYPE_APA_Definition {

    WARNING: do not add new typedefs
    torvalds#622: FILE: hal/odm.h:622:
    +typedef enum tag_ODM_TYPE_GLNA_Definition {

    WARNING: do not add new typedefs
    torvalds#629: FILE: hal/odm.h:629:
    +typedef enum tag_ODM_TYPE_ALNA_Definition {

    WARNING: do not add new typedefs
    torvalds#637: FILE: hal/odm.h:637:
    +typedef enum tag_CCA_Path {

    WARNING: do not add new typedefs
    torvalds#643: FILE: hal/odm.h:643:
    +typedef struct _ODM_RA_Info_ {

    WARNING: do not add new typedefs
    torvalds#675: FILE: hal/odm.h:675:
    +typedef struct _IQK_MATRIX_REGS_SETTING {

    WARNING: do not add new typedefs
    torvalds#683: FILE: hal/odm.h:683:
    +typedef struct ODM_RF_Calibration_Structure {

    WARNING: do not add new typedefs
    #788: FILE: hal/odm.h:788:
    +typedef struct _FAST_ANTENNA_TRAINNING_ {

    WARNING: do not add new typedefs
    torvalds#828: FILE: hal/odm.h:828:
    +typedef enum _FAT_STATE {

    WARNING: do not add new typedefs
    torvalds#833: FILE: hal/odm.h:833:
    +typedef enum _ANT_DIV_TYPE {

    WARNING: do not add new typedefs
    torvalds#843: FILE: hal/odm.h:843:
    +typedef struct _ODM_PATH_DIVERSITY_ {

    WARNING: do not add new typedefs
    torvalds#852: FILE: hal/odm.h:852:
    +typedef enum _BASEBAND_CONFIG_PHY_REG_PG_VALUE_TYPE {

    WARNING: do not add new typedefs
    torvalds#860: FILE: hal/odm.h:860:
    +typedef struct _ANT_DETECTED_INFO {

    WARNING: do not add new typedefs
    torvalds#870: FILE: hal/odm.h:870:
    +typedef  struct DM_Out_Source_Dynamic_Mechanism_Structure {

    WARNING: do not add new typedefs
    #1229: FILE: hal/odm.h:1229:
    + typedef enum _ODM_RF_CONTENT {

    WARNING: do not add new typedefs
    #1236: FILE: hal/odm.h:1236:
    +typedef enum _ODM_BB_Config_Type {

    WARNING: do not add new typedefs
    #1246: FILE: hal/odm.h:1246:
    +typedef enum _ODM_RF_Config_Type {

    WARNING: do not add new typedefs
    #1251: FILE: hal/odm.h:1251:
    +typedef enum _ODM_FW_Config_Type {

    WARNING: do not add new typedefs
    #1262: FILE: hal/odm.h:1262:
    +typedef enum _RT_STATUS {

    WARNING: do not add new typedefs
    #1319: FILE: hal/odm.h:1319:
    +typedef enum tag_1R_CCA_Type_Definition {

    WARNING: do not add new typedefs
    #1325: FILE: hal/odm.h:1325:
    +typedef enum tag_RF_Type_Definition {

    WARNING: do not add new typedefs
    #1334: FILE: hal/odm.h:1334:
    +typedef enum tag_SW_Antenna_Switch_Definition {

Signed-off-by: Marco Cesati <marco.cesati@gmail.com>
Link: https://lore.kernel.org/r/20210312082638.25512-4-marco.cesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
MightyM17 pushed a commit to MightyM17/linux that referenced this pull request Sep 15, 2021
because it leads to system crash:

[  198.398193] ------------[ cut here ]------------
[  198.403091] WARNING: CPU: 0 PID: 0 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x214/0x334
[  198.412729] 44000000.ocp:L3 Standard Error: MASTER MPU TARGET SGX (Read Link): At Address: 0x00000134 : Data Access in User mode during Functional access
[  198.427201] Modules linked in: pvrsrvkm_omap_omap5_sgx544_116(C) cdc_ether usbnet cdc_acm usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs arc4 bnep wl18xx wlcore mac80211 cfg80211 dwc3 panel_boe_w677l omapdrm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm drm_panel_orientation_quirks omapdss leds_gpio connector_hdmi encoder_tpd12s015 wwan_on_off cec omapdss_base pwm_bl pwm_omap_dmtimer generic_adc_battery ehci_omap wlcore_sdio tca8418_keypad leds_is31fl319x dwc3_omap ina2xx bmp280_spi bq27xxx_battery_i2c bq27xxx_battery bq2429x_charger gpio_twl6040 tsc2007 crtouch_mt palmas_pwrbutton as5013 twl6040_vibra hci_uart bluetooth palmas_gpadc usb3503 ecdh_generic bmc150_magn_i2c bmg160_i2c bmc150_accel_i2c bmc150_accel_core bmg160_core bmc150_magn bno055 industrialio_triggered_buffer
[  198.502858]  bmp280_i2c bmp280 kfifo_buf industrialio ip_tables x_tables ipv6 autofs4 [last unloaded: pvrsrvkm_omap_omap5_sgx544_116]
[  198.515562] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        WC        4.19.4-letux-lpae+ torvalds#675
[  198.524555] Hardware name: Generic OMAP5 (Flattened Device Tree)
[  198.530912] [<c02109d0>] (unwind_backtrace) from [<c020be20>] (show_stack+0x10/0x14)
[  198.539135] [<c020be20>] (show_stack) from [<c0870634>] (dump_stack+0x7c/0x9c)
[  198.546803] [<c0870634>] (dump_stack) from [<c022d8e4>] (__warn+0xd8/0x108)
[  198.554188] [<c022d8e4>] (__warn) from [<c022d958>] (warn_slowpath_fmt+0x44/0x6c)
[  198.562131] [<c022d958>] (warn_slowpath_fmt) from [<c0549864>] (l3_interrupt_handler+0x214/0x334)
[  198.571546] [<c0549864>] (l3_interrupt_handler) from [<c0276300>] (__handle_irq_event_percpu+0xa8/0x264)
[  198.581606] [<c0276300>] (__handle_irq_event_percpu) from [<c02764e0>] (handle_irq_event_percpu+0x24/0x78)
[  198.591849] [<c02764e0>] (handle_irq_event_percpu) from [<c027656c>] (handle_irq_event+0x38/0x5c)
[  198.601259] [<c027656c>] (handle_irq_event) from [<c027a1a4>] (handle_fasteoi_irq+0xa8/0x124)
[  198.610300] [<c027a1a4>] (handle_fasteoi_irq) from [<c02756f8>] (generic_handle_irq+0x18/0x28)
[  198.619436] [<c02756f8>] (generic_handle_irq) from [<c0275c8c>] (__handle_domain_irq+0x8c/0xb4)
[  198.628664] [<c0275c8c>] (__handle_domain_irq) from [<c0547e94>] (gic_handle_irq+0x54/0x90)
[  198.637522] [<c0547e94>] (gic_handle_irq) from [<c02019f8>] (__irq_svc+0x58/0x8c)
[  198.645449] Exception stack(0xc0e01e10 to 0xc0e01e58)
[  198.650805] 1e00:                                     3173de93 c0c85e00 00000000 2e346000
[  198.659472] 1e20: c0c85e00 c0c85e00 00000200 00200102 c0e01e60 c0e00000 0000000a 00000001
[  198.668134] 1e40: 0000000b c0e01e60 c029dd2c c02020cc 400c0113 ffffffff
[  198.675152] [<c02019f8>] (__irq_svc) from [<c02020cc>] (__do_softirq+0x8c/0x3a4)
[  198.683001] [<c02020cc>] (__do_softirq) from [<c0233700>] (irq_exit+0x78/0xd8)
[  198.690666] [<c0233700>] (irq_exit) from [<c0275c90>] (__handle_domain_irq+0x90/0xb4)
[  198.698974] [<c0275c90>] (__handle_domain_irq) from [<c0547e94>] (gic_handle_irq+0x54/0x90)
[  198.707831] [<c0547e94>] (gic_handle_irq) from [<c02019f8>] (__irq_svc+0x58/0x8c)
[  198.715756] Exception stack(0xc0e01ee0 to 0xc0e01f28)
[  198.721113] 1ee0: 00000000 eefcfb40 00000001 00000008 eefcb638 00000001 00000001 c0e8d2d8
[  198.729776] 1f00: 310ead9a 0000002e 00000000 00000001 00000000 c0e01f30 c029d7e4 c0739b98
[  198.738435] 1f20: 200c0013 ffffffff
[  198.742142] [<c02019f8>] (__irq_svc) from [<c0739b98>] (cpuidle_enter_state+0x284/0x440)
[  198.750729] [<c0739b98>] (cpuidle_enter_state) from [<c0258bb4>] (do_idle+0x1cc/0x260)
[  198.759129] [<c0258bb4>] (do_idle) from [<c0258ed8>] (cpu_startup_entry+0x18/0x1c)
[  198.767161] [<c0258ed8>] (cpu_startup_entry) from [<c0c00db4>] (start_kernel+0x3f4/0x490)
[  198.775827] ---[ end trace f132b21e3445e2ad ]---
[  198.780802] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
YaAlex3 pushed a commit to YaAlex3/linux that referenced this pull request Sep 21, 2021
because it leads to system crash:

[  198.398193] ------------[ cut here ]------------
[  198.403091] WARNING: CPU: 0 PID: 0 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x214/0x334
[  198.412729] 44000000.ocp:L3 Standard Error: MASTER MPU TARGET SGX (Read Link): At Address: 0x00000134 : Data Access in User mode during Functional access
[  198.427201] Modules linked in: pvrsrvkm_omap_omap5_sgx544_116(C) cdc_ether usbnet cdc_acm usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs arc4 bnep wl18xx wlcore mac80211 cfg80211 dwc3 panel_boe_w677l omapdrm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm drm_panel_orientation_quirks omapdss leds_gpio connector_hdmi encoder_tpd12s015 wwan_on_off cec omapdss_base pwm_bl pwm_omap_dmtimer generic_adc_battery ehci_omap wlcore_sdio tca8418_keypad leds_is31fl319x dwc3_omap ina2xx bmp280_spi bq27xxx_battery_i2c bq27xxx_battery bq2429x_charger gpio_twl6040 tsc2007 crtouch_mt palmas_pwrbutton as5013 twl6040_vibra hci_uart bluetooth palmas_gpadc usb3503 ecdh_generic bmc150_magn_i2c bmg160_i2c bmc150_accel_i2c bmc150_accel_core bmg160_core bmc150_magn bno055 industrialio_triggered_buffer
[  198.502858]  bmp280_i2c bmp280 kfifo_buf industrialio ip_tables x_tables ipv6 autofs4 [last unloaded: pvrsrvkm_omap_omap5_sgx544_116]
[  198.515562] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        WC        4.19.4-letux-lpae+ torvalds#675
[  198.524555] Hardware name: Generic OMAP5 (Flattened Device Tree)
[  198.530912] [<c02109d0>] (unwind_backtrace) from [<c020be20>] (show_stack+0x10/0x14)
[  198.539135] [<c020be20>] (show_stack) from [<c0870634>] (dump_stack+0x7c/0x9c)
[  198.546803] [<c0870634>] (dump_stack) from [<c022d8e4>] (__warn+0xd8/0x108)
[  198.554188] [<c022d8e4>] (__warn) from [<c022d958>] (warn_slowpath_fmt+0x44/0x6c)
[  198.562131] [<c022d958>] (warn_slowpath_fmt) from [<c0549864>] (l3_interrupt_handler+0x214/0x334)
[  198.571546] [<c0549864>] (l3_interrupt_handler) from [<c0276300>] (__handle_irq_event_percpu+0xa8/0x264)
[  198.581606] [<c0276300>] (__handle_irq_event_percpu) from [<c02764e0>] (handle_irq_event_percpu+0x24/0x78)
[  198.591849] [<c02764e0>] (handle_irq_event_percpu) from [<c027656c>] (handle_irq_event+0x38/0x5c)
[  198.601259] [<c027656c>] (handle_irq_event) from [<c027a1a4>] (handle_fasteoi_irq+0xa8/0x124)
[  198.610300] [<c027a1a4>] (handle_fasteoi_irq) from [<c02756f8>] (generic_handle_irq+0x18/0x28)
[  198.619436] [<c02756f8>] (generic_handle_irq) from [<c0275c8c>] (__handle_domain_irq+0x8c/0xb4)
[  198.628664] [<c0275c8c>] (__handle_domain_irq) from [<c0547e94>] (gic_handle_irq+0x54/0x90)
[  198.637522] [<c0547e94>] (gic_handle_irq) from [<c02019f8>] (__irq_svc+0x58/0x8c)
[  198.645449] Exception stack(0xc0e01e10 to 0xc0e01e58)
[  198.650805] 1e00:                                     3173de93 c0c85e00 00000000 2e346000
[  198.659472] 1e20: c0c85e00 c0c85e00 00000200 00200102 c0e01e60 c0e00000 0000000a 00000001
[  198.668134] 1e40: 0000000b c0e01e60 c029dd2c c02020cc 400c0113 ffffffff
[  198.675152] [<c02019f8>] (__irq_svc) from [<c02020cc>] (__do_softirq+0x8c/0x3a4)
[  198.683001] [<c02020cc>] (__do_softirq) from [<c0233700>] (irq_exit+0x78/0xd8)
[  198.690666] [<c0233700>] (irq_exit) from [<c0275c90>] (__handle_domain_irq+0x90/0xb4)
[  198.698974] [<c0275c90>] (__handle_domain_irq) from [<c0547e94>] (gic_handle_irq+0x54/0x90)
[  198.707831] [<c0547e94>] (gic_handle_irq) from [<c02019f8>] (__irq_svc+0x58/0x8c)
[  198.715756] Exception stack(0xc0e01ee0 to 0xc0e01f28)
[  198.721113] 1ee0: 00000000 eefcfb40 00000001 00000008 eefcb638 00000001 00000001 c0e8d2d8
[  198.729776] 1f00: 310ead9a 0000002e 00000000 00000001 00000000 c0e01f30 c029d7e4 c0739b98
[  198.738435] 1f20: 200c0013 ffffffff
[  198.742142] [<c02019f8>] (__irq_svc) from [<c0739b98>] (cpuidle_enter_state+0x284/0x440)
[  198.750729] [<c0739b98>] (cpuidle_enter_state) from [<c0258bb4>] (do_idle+0x1cc/0x260)
[  198.759129] [<c0258bb4>] (do_idle) from [<c0258ed8>] (cpu_startup_entry+0x18/0x1c)
[  198.767161] [<c0258ed8>] (cpu_startup_entry) from [<c0c00db4>] (start_kernel+0x3f4/0x490)
[  198.775827] ---[ end trace f132b21e3445e2ad ]---
[  198.780802] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
ojeda pushed a commit to ojeda/linux that referenced this pull request Feb 25, 2022
rust: remove call to `bindings::errname` when building `testlib`
tmlind pushed a commit to tmlind/linux that referenced this pull request May 22, 2022
because it leads to system crash:

[  198.398193] ------------[ cut here ]------------
[  198.403091] WARNING: CPU: 0 PID: 0 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x214/0x334
[  198.412729] 44000000.ocp:L3 Standard Error: MASTER MPU TARGET SGX (Read Link): At Address: 0x00000134 : Data Access in User mode during Functional access
[  198.427201] Modules linked in: pvrsrvkm_omap_omap5_sgx544_116(C) cdc_ether usbnet cdc_acm usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs arc4 bnep wl18xx wlcore mac80211 cfg80211 dwc3 panel_boe_w677l omapdrm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm drm_panel_orientation_quirks omapdss leds_gpio connector_hdmi encoder_tpd12s015 wwan_on_off cec omapdss_base pwm_bl pwm_omap_dmtimer generic_adc_battery ehci_omap wlcore_sdio tca8418_keypad leds_is31fl319x dwc3_omap ina2xx bmp280_spi bq27xxx_battery_i2c bq27xxx_battery bq2429x_charger gpio_twl6040 tsc2007 crtouch_mt palmas_pwrbutton as5013 twl6040_vibra hci_uart bluetooth palmas_gpadc usb3503 ecdh_generic bmc150_magn_i2c bmg160_i2c bmc150_accel_i2c bmc150_accel_core bmg160_core bmc150_magn bno055 industrialio_triggered_buffer
[  198.502858]  bmp280_i2c bmp280 kfifo_buf industrialio ip_tables x_tables ipv6 autofs4 [last unloaded: pvrsrvkm_omap_omap5_sgx544_116]
[  198.515562] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        WC        4.19.4-letux-lpae+ torvalds#675
[  198.524555] Hardware name: Generic OMAP5 (Flattened Device Tree)
[  198.530912] [<c02109d0>] (unwind_backtrace) from [<c020be20>] (show_stack+0x10/0x14)
[  198.539135] [<c020be20>] (show_stack) from [<c0870634>] (dump_stack+0x7c/0x9c)
[  198.546803] [<c0870634>] (dump_stack) from [<c022d8e4>] (__warn+0xd8/0x108)
[  198.554188] [<c022d8e4>] (__warn) from [<c022d958>] (warn_slowpath_fmt+0x44/0x6c)
[  198.562131] [<c022d958>] (warn_slowpath_fmt) from [<c0549864>] (l3_interrupt_handler+0x214/0x334)
[  198.571546] [<c0549864>] (l3_interrupt_handler) from [<c0276300>] (__handle_irq_event_percpu+0xa8/0x264)
[  198.581606] [<c0276300>] (__handle_irq_event_percpu) from [<c02764e0>] (handle_irq_event_percpu+0x24/0x78)
[  198.591849] [<c02764e0>] (handle_irq_event_percpu) from [<c027656c>] (handle_irq_event+0x38/0x5c)
[  198.601259] [<c027656c>] (handle_irq_event) from [<c027a1a4>] (handle_fasteoi_irq+0xa8/0x124)
[  198.610300] [<c027a1a4>] (handle_fasteoi_irq) from [<c02756f8>] (generic_handle_irq+0x18/0x28)
[  198.619436] [<c02756f8>] (generic_handle_irq) from [<c0275c8c>] (__handle_domain_irq+0x8c/0xb4)
[  198.628664] [<c0275c8c>] (__handle_domain_irq) from [<c0547e94>] (gic_handle_irq+0x54/0x90)
[  198.637522] [<c0547e94>] (gic_handle_irq) from [<c02019f8>] (__irq_svc+0x58/0x8c)
[  198.645449] Exception stack(0xc0e01e10 to 0xc0e01e58)
[  198.650805] 1e00:                                     3173de93 c0c85e00 00000000 2e346000
[  198.659472] 1e20: c0c85e00 c0c85e00 00000200 00200102 c0e01e60 c0e00000 0000000a 00000001
[  198.668134] 1e40: 0000000b c0e01e60 c029dd2c c02020cc 400c0113 ffffffff
[  198.675152] [<c02019f8>] (__irq_svc) from [<c02020cc>] (__do_softirq+0x8c/0x3a4)
[  198.683001] [<c02020cc>] (__do_softirq) from [<c0233700>] (irq_exit+0x78/0xd8)
[  198.690666] [<c0233700>] (irq_exit) from [<c0275c90>] (__handle_domain_irq+0x90/0xb4)
[  198.698974] [<c0275c90>] (__handle_domain_irq) from [<c0547e94>] (gic_handle_irq+0x54/0x90)
[  198.707831] [<c0547e94>] (gic_handle_irq) from [<c02019f8>] (__irq_svc+0x58/0x8c)
[  198.715756] Exception stack(0xc0e01ee0 to 0xc0e01f28)
[  198.721113] 1ee0: 00000000 eefcfb40 00000001 00000008 eefcb638 00000001 00000001 c0e8d2d8
[  198.729776] 1f00: 310ead9a 0000002e 00000000 00000001 00000000 c0e01f30 c029d7e4 c0739b98
[  198.738435] 1f20: 200c0013 ffffffff
[  198.742142] [<c02019f8>] (__irq_svc) from [<c0739b98>] (cpuidle_enter_state+0x284/0x440)
[  198.750729] [<c0739b98>] (cpuidle_enter_state) from [<c0258bb4>] (do_idle+0x1cc/0x260)
[  198.759129] [<c0258bb4>] (do_idle) from [<c0258ed8>] (cpu_startup_entry+0x18/0x1c)
[  198.767161] [<c0258ed8>] (cpu_startup_entry) from [<c0c00db4>] (start_kernel+0x3f4/0x490)
[  198.775827] ---[ end trace f132b21e3445e2ad ]---
[  198.780802] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
tq-steina pushed a commit to tq-steina/linux that referenced this pull request Jul 12, 2024
drm/imx: lcdifv3: Fix videomode settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants