IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Debian Discussion :

besoin d'aide pour appliquer les patchs d'un kernel.


Sujet :

Debian

  1. #1
    Membre confirmé
    Avatar de dexter74
    Profil pro
    Inscrit en
    Avril 2009
    Messages
    120
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2009
    Messages : 120
    Billets dans le blog
    3
    Par défaut besoin d'aide pour appliquer les patchs d'un kernel.
    Bonjour,

    Je souhaiterai de l'aide pour appliquer les patchs d'un kernel.
    L'objectif est d'apprendre .

    J'ai télécharger le kernel 6.10 puis les patchs 1-14 mais impossible que sa passe correctement.


    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
     
    cd $HOME;
    mkdir kernel;
    cd kernel;
    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.10.tar.xz
    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.10.1.xz
    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.10.2.xz
    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.10.3.xz
    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.10.4.xz
    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.10.5.xz
    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.10.6.xz
    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.10.7.xz
    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.10.8.xz
    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.10.9.xz
    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.10.10.xz
    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.10.11.xz
    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.10.12.xz
    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.10.13.xz
    wget https://cdn.kernel.org/pub/linux/kernel/v6.x/patch-6.10.14.xz
    for i in $(ls *.xz); do unxz $i; done
    for i in $(ls *.tar); do tar xf $i; done

    Patch 6.10.1:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
     
    patch -p1 --batch < ../patch-6.10.1
    # ---------------------------------------------------------------------
    patching file Makefile
    patching file drivers/char/tpm/tpm2-sessions.c
    patching file drivers/net/wireless/intel/iwlwifi/mvm/tt.c
    patching file drivers/thermal/thermal_core.c
    patching file drivers/thermal/thermal_core.h
    patching file drivers/thermal/thermal_helpers.c
    patching file fs/ext4/ext4.h
    patching file fs/ext4/ioctl.c
    patching file fs/smb/client/cifsfs.c
    patching file fs/smb/client/file.c
    patching file fs/smb/client/smb2pdu.c
    patching file include/sound/cs35l56.h
    patching file io_uring/kbuf.c
    patching file sound/soc/codecs/cs35l56.c
    # ---------------------------------------------------------------------
    head Makefile;
    # VERSION = 6
    # PATCHLEVEL = 10
    # SUBLEVEL = 1
    # EXTRAVERSION =
    # NAME = Baby Opossum Posse
    # ---------------------------------------------------------------------
    # Remise a Zero du SUBLEVEL pour le patch 2
    sed -i -e "s/SUBLEVEL \= 1/SUBLEVEL \= 0/g" Makefile;
    # ---------------------------------------------------------------------
    Patch 6.10.2
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
     
    patch -p1 --batch < ../patch-6.10.2;
    # ---------------------------------------------------------------------
    patching file Makefile
    patching file arch/arm64/boot/dts/qcom/ipq6018.dtsi
    patching file arch/arm64/boot/dts/qcom/ipq8074.dtsi
    patching file arch/arm64/boot/dts/qcom/msm8996.dtsi
    patching file arch/arm64/boot/dts/qcom/msm8998.dtsi
    patching file arch/arm64/boot/dts/qcom/qrb2210-rb1.dts
    patching file arch/arm64/boot/dts/qcom/qrb4210-rb2.dts
    patching file arch/arm64/boot/dts/qcom/sc7180.dtsi
    patching file arch/arm64/boot/dts/qcom/sc7280.dtsi
    patching file arch/arm64/boot/dts/qcom/sdm630.dtsi
    patching file arch/arm64/boot/dts/qcom/sdm845.dtsi
    patching file arch/arm64/boot/dts/qcom/sm6115.dtsi
    patching file arch/arm64/boot/dts/qcom/sm6350.dtsi
    patching file arch/arm64/boot/dts/qcom/x1e80100-crd.dts
    patching file arch/arm64/boot/dts/qcom/x1e80100-qcp.dts
    patching file arch/s390/mm/fault.c
    patching file drivers/char/tpm/tpm2-sessions.c
    Reversed (or previously applied) patch detected!  Assuming -R.
    patching file drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
    patching file drivers/net/tap.c
    patching file drivers/net/tun.c
    patching file drivers/net/wireless/intel/iwlwifi/mvm/tt.c
    Reversed (or previously applied) patch detected!  Assuming -R.
    patching file drivers/thermal/thermal_core.c
    Reversed (or previously applied) patch detected!  Assuming -R.
    patching file drivers/thermal/thermal_core.h
    Reversed (or previously applied) patch detected!  Assuming -R.
    patching file drivers/thermal/thermal_helpers.c
    Reversed (or previously applied) patch detected!  Assuming -R.
    patching file drivers/usb/gadget/function/f_midi2.c
    patching file fs/ext4/ext4.h
    Reversed (or previously applied) patch detected!  Assuming -R.
    patching file fs/ext4/ioctl.c
    Reversed (or previously applied) patch detected!  Assuming -R.
    patching file fs/jfs/xattr.c
    patching file fs/locks.c
    patching file fs/ntfs3/fslog.c
    patching file fs/ocfs2/dir.c
    patching file fs/smb/client/cifsfs.c
    Reversed (or previously applied) patch detected!  Assuming -R.
    patching file fs/smb/client/file.c
    Reversed (or previously applied) patch detected!  Assuming -R.
    patching file fs/smb/client/smb2pdu.c
    Reversed (or previously applied) patch detected!  Assuming -R.
    patching file include/sound/cs35l56.h
    Reversed (or previously applied) patch detected!  Assuming -R.
    patching file io_uring/kbuf.c
    Reversed (or previously applied) patch detected!  Assuming -R.
    patching file sound/core/pcm_dmaengine.c
    patching file sound/core/seq/seq_ump_client.c
    patching file sound/pci/hda/patch_realtek.c
    patching file sound/soc/codecs/cs35l56.c
    Reversed (or previously applied) patch detected!  Assuming -R.
    # ---------------------------------------------------------------------
    head Makefile;
    # VERSION = 6
    # PATCHLEVEL = 10
    # SUBLEVEL = 2
    # EXTRAVERSION =
    # NAME = Baby Opossum Posse
    # ---------------------------------------------------------------------
    # Remise a Zero du SUBLEVEL pour le patch 2
    sed -i -e "s/SUBLEVEL \= 2/SUBLEVEL \= 0/g" Makefile;
    # ---------------------------------------------------------------------


    Patch 6.10.3
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
     
    patch -p1 --batch < ../patch-6.10.3;
    # ---------------------------------------------------------------------
    find . -type f -name "*rej"
    ./sound/pci/hda/patch_realtek.c.rej
    ./arch/arm64/boot/dts/qcom/sc7280.dtsi.rej
    ./arch/arm64/boot/dts/qcom/qrb4210-rb2.dts.rej
    ./arch/arm64/boot/dts/qcom/x1e80100-qcp.dts.rej
    ./arch/arm64/boot/dts/qcom/sdm845.dtsi.rej
    ./arch/arm64/boot/dts/qcom/sc7180.dtsi.rej
    ./arch/arm64/boot/dts/qcom/msm8998.dtsi.rej
    ./arch/arm64/boot/dts/qcom/sm6350.dtsi.rej
    ./arch/arm64/boot/dts/qcom/x1e80100-crd.dts.rej
    ./arch/arm64/boot/dts/qcom/msm8996.dtsi.rej
    ./arch/arm64/boot/dts/qcom/sm6115.dtsi.rej
    ./fs/ntfs3/fslog.c.rej
    # ---------------------------------------------------------------------
    head Makefile;
    # VERSION = 6
    # PATCHLEVEL = 10
    # SUBLEVEL = 3
    # EXTRAVERSION =
    # NAME = Baby Opossum Posse
    # ---------------------------------------------------------------------
    # Remise a Zero du SUBLEVEL pour le patch 2
    sed -i -e "s/SUBLEVEL \= 3/SUBLEVEL \= 0/g" Makefile;



    Patch 6.10.4
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
     
    patch -p1 --batch < ../patch-6.10.4;
    # ---------------------------------------------------------------------

  2. #2
    Expert confirmé
    Avatar de fred1599
    Homme Profil pro
    Lead Dev Python
    Inscrit en
    Juillet 2006
    Messages
    4 060
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Meurthe et Moselle (Lorraine)

    Informations professionnelles :
    Activité : Lead Dev Python
    Secteur : Arts - Culture

    Informations forums :
    Inscription : Juillet 2006
    Messages : 4 060
    Par défaut
    Bonjour,

    En admettant que vous soyez bien renseigné sur tout ça préalablement, et que vous avez créé une image de votre disque, il faut déjà installer les paquets essentiels pour faire cela,

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    sudo apt update && sudo apt install build-essential libncurses-dev bison flex libssl-dev libelf-dev bc fakeroot dwarves
    L'erreur que vous rencontrez semble provenir du fait que le fichier ../patch-6.10.1 que vous fournissez à la commande patch n'est pas un fichier de correctif pur. Il contient à la fois des données de correctif (au format diff) et des commandes shell (comme head et sed).
    La commande patch -p1 s'attend à recevoir uniquement des données au format diff. Lorsqu'elle rencontre des lignes qui sont des commandes shell, elle ne sait pas comment les interpréter, ce qui mène à un comportement inattendu ou à l'arrêt du processus de correction après la partie "patch" valide.

    Comme vous êtes là pour apprendre, je vous laisse faire une recherche sur la suite et solution à venir.
    Celui qui trouve sans chercher est celui qui a longtemps cherché sans trouver.(Bachelard)
    La connaissance s'acquiert par l'expérience, tout le reste n'est que de l'information.(Einstein)

  3. #3
    Membre confirmé
    Avatar de dexter74
    Profil pro
    Inscrit en
    Avril 2009
    Messages
    120
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2009
    Messages : 120
    Billets dans le blog
    3
    Par défaut
    Citation Envoyé par fred1599 Voir le message
    Bonjour,

    En admettant que vous soyez bien renseigné sur tout ça préalablement, et que vous avez créé une image de votre disque, il faut déjà installer les paquets essentiels pour faire cela,

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    sudo apt update && sudo apt install build-essential libncurses-dev bison flex libssl-dev libelf-dev bc fakeroot dwarves
    L'erreur que vous rencontrez semble provenir du fait que le fichier ../patch-6.10.1 que vous fournissez à la commande patch n'est pas un fichier de correctif pur. Il contient à la fois des données de correctif (au format diff) et des commandes shell (comme head et sed).
    La commande patch -p1 s'attend à recevoir uniquement des données au format diff. Lorsqu'elle rencontre des lignes qui sont des commandes shell, elle ne sait pas comment les interpréter, ce qui mène à un comportement inattendu ou à l'arrêt du processus de correction après la partie "patch" valide.

    Comme vous êtes là pour apprendre, je vous laisse faire une recherche sur la suite et solution à venir.

    Bonjour,

    J'avais installer ses packages.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
     
    clear;
    apt-get update 
    apt install -y build-essential 
    apt install -y curl
    apt install -y fakeroot
    apt install -y git
     
    apt install -y libbpf-dev
    apt install -y libelf-dev
    apt install -y libcrypto++-dev
    apt install -y libdevmapper-dev
    apt install -y libgcc-$(gcc -v 2>&1 | grep '^gcc version' | cut -d' ' -f3 | cut -d "." -f 1)-dev
     
    apt install -y libglade2-dev
    apt install -y libgtk2.0-dev
     
    apt install -y libieee1284-3-dev
    apt install -y liblz4-dev
    apt install -y liblzma-dev
    apt install -y libncurses-dev
    #apt install -y libqt4-dev
    apt install -y libpci-dev
    apt install -y libssl-dev
    apt install -y libusb-dev
    apt install -y libz-dev
    apt install -y linux-headers-$(uname -r) 
    apt install -y linux-source-$(uname -r | cut -d "." -f 1-2)
    apt install -y ncurses-dev

    Pour le problème de patch 6.10.1 , si j'ai bien compris, il faut scinder le fichier en 2 fichiers distinct car l'interpréteur Shell ne saura pas faire.


    Séparer le diff des commandes shell
    Prendre toute les lignes --- ou diff --git
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    patch -p1 < patch-only.diff

    Exécuter le patch comme un script shell
    Vérifier la présence de l'intérpreteur Bash. (#!/bin/bash)
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
     
    chmod +x ../patch-6.10.1
    ../patch-6.10.1

    Est ce bien sa ?

  4. #4
    Expert confirmé
    Avatar de fred1599
    Homme Profil pro
    Lead Dev Python
    Inscrit en
    Juillet 2006
    Messages
    4 060
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Meurthe et Moselle (Lorraine)

    Informations professionnelles :
    Activité : Lead Dev Python
    Secteur : Arts - Culture

    Informations forums :
    Inscription : Juillet 2006
    Messages : 4 060
    Par défaut
    J'avais installer ses packages.
    Mais vous ne l'avez pas dis !

    Il faut donner tous les renseignements possibles, et la base c'est la version de votre debian...

    Donc oui, pour la suite il faut faire cette distinction entre diff et shell.

    Un premier fichier (par exemple, modifications_kernel_6.10.1.diff) ne contiendra que la partie "diff" du correctif.

    Vous identifierez correctement ces sections par les lignes commençant par --- a/ et +++ b/ ou diff --git. Cette partie se termine après les modifications du dernier fichier (dans votre exemple, sound/soc/codecs/cs35l56.c).

    Un second fichier (par exemple, commandes_post_patch.sh) contiendra les commandes shell qui suivaient la partie diff (les commandes head Makefile; et sed...).

    Je pense que vous avez dû faire le test
    Celui qui trouve sans chercher est celui qui a longtemps cherché sans trouver.(Bachelard)
    La connaissance s'acquiert par l'expérience, tout le reste n'est que de l'information.(Einstein)

  5. #5
    Membre confirmé
    Avatar de dexter74
    Profil pro
    Inscrit en
    Avril 2009
    Messages
    120
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2009
    Messages : 120
    Billets dans le blog
    3
    Par défaut
    Bonjour,

    j'ai un peu de mal à comprendre la séparation du patch.



    Fichier Original :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    diff --git a/Makefile b/Makefile
    index 3d10e3aadeda2..9ae12a6c0ece2 100644
    --- a/Makefile
    +++ b/Makefile
    @@ -1,7 +1,7 @@
     # SPDX-License-Identifier: GPL-2.0
     VERSION = 6
     PATCHLEVEL = 10
    -SUBLEVEL = 0
    +SUBLEVEL = 1
     EXTRAVERSION =
     NAME = Baby Opossum Posse
     
    diff --git a/drivers/char/tpm/tpm2-sessions.c b/drivers/char/tpm/tpm2-sessions.c
    index 2281d55df5456..d3521aadd43ee 100644
    --- a/drivers/char/tpm/tpm2-sessions.c
    +++ b/drivers/char/tpm/tpm2-sessions.c
    @@ -746,15 +746,16 @@ int tpm_buf_check_hmac_response(struct tpm_chip *chip, struct tpm_buf *buf,
     	struct tpm2_auth *auth = chip->auth;
     	off_t offset_s, offset_p;
     	u8 rphash[SHA256_DIGEST_SIZE];
    -	u32 attrs;
    +	u32 attrs, cc;
     	struct sha256_state sctx;
     	u16 tag = be16_to_cpu(head->tag);
    -	u32 cc = be32_to_cpu(auth->ordinal);
     	int parm_len, len, i, handles;
     
     	if (!auth)
     		return rc;
     
    +	cc = be32_to_cpu(auth->ordinal);
    +
     	if (auth->session >= TPM_HEADER_SIZE) {
     		WARN(1, "tpm session not filled correctly\n");
     		goto out;
    diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/tt.c b/drivers/net/wireless/intel/iwlwifi/mvm/tt.c
    index 61a4638d1be2f..237cb1ef79759 100644
    --- a/drivers/net/wireless/intel/iwlwifi/mvm/tt.c
    +++ b/drivers/net/wireless/intel/iwlwifi/mvm/tt.c
    @@ -622,7 +622,12 @@ static int iwl_mvm_tzone_get_temp(struct thermal_zone_device *device,
     
     	if (!iwl_mvm_firmware_running(mvm) ||
     	    mvm->fwrt.cur_fw_img != IWL_UCODE_REGULAR) {
    -		ret = -ENODATA;
    +		/*
    +		 * Tell the core that there is no valid temperature value to
    +		 * return, but it need not worry about this.
    +		 */
    +		*temperature = THERMAL_TEMP_INVALID;
    +		ret = 0;
     		goto out;
     	}
     
    diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
    index ecc748d15eb7c..4e7fec406ee59 100644
    --- a/drivers/thermal/thermal_core.c
    +++ b/drivers/thermal/thermal_core.c
    @@ -300,8 +300,6 @@ static void monitor_thermal_zone(struct thermal_zone_device *tz)
     		thermal_zone_device_set_polling(tz, tz->passive_delay_jiffies);
     	else if (tz->polling_delay_jiffies)
     		thermal_zone_device_set_polling(tz, tz->polling_delay_jiffies);
    -	else if (tz->temperature == THERMAL_TEMP_INVALID)
    -		thermal_zone_device_set_polling(tz, msecs_to_jiffies(THERMAL_RECHECK_DELAY_MS));
     }
     
     static struct thermal_governor *thermal_get_tz_governor(struct thermal_zone_device *tz)
    @@ -382,7 +380,7 @@ static void handle_thermal_trip(struct thermal_zone_device *tz,
     	td->threshold = trip->temperature;
     
     	if (tz->last_temperature >= old_threshold &&
    -	    tz->last_temperature != THERMAL_TEMP_INVALID) {
    +	    tz->last_temperature != THERMAL_TEMP_INIT) {
     		/*
     		 * Mitigation is under way, so it needs to stop if the zone
     		 * temperature falls below the low temperature of the trip.
    @@ -417,27 +415,6 @@ static void handle_thermal_trip(struct thermal_zone_device *tz,
     	}
     }
     
    -static void update_temperature(struct thermal_zone_device *tz)
    -{
    -	int temp, ret;
    -
    -	ret = __thermal_zone_get_temp(tz, &temp);
    -	if (ret) {
    -		if (ret != -EAGAIN)
    -			dev_warn(&tz->device,
    -				 "failed to read out thermal zone (%d)\n",
    -				 ret);
    -		return;
    -	}
    -
    -	tz->last_temperature = tz->temperature;
    -	tz->temperature = temp;
    -
    -	trace_thermal_temperature(tz);
    -
    -	thermal_genl_sampling_temp(tz->id, temp);
    -}
    -
     static void thermal_zone_device_check(struct work_struct *work)
     {
     	struct thermal_zone_device *tz = container_of(work, struct
    @@ -452,7 +429,7 @@ static void thermal_zone_device_init(struct thermal_zone_device *tz)
     
     	INIT_DELAYED_WORK(&tz->poll_queue, thermal_zone_device_check);
     
    -	tz->temperature = THERMAL_TEMP_INVALID;
    +	tz->temperature = THERMAL_TEMP_INIT;
     	tz->passive = 0;
     	tz->prev_low_trip = -INT_MAX;
     	tz->prev_high_trip = INT_MAX;
    @@ -501,6 +478,7 @@ void __thermal_zone_device_update(struct thermal_zone_device *tz,
     	struct thermal_trip_desc *td;
     	LIST_HEAD(way_down_list);
     	LIST_HEAD(way_up_list);
    +	int temp, ret;
     
     	if (tz->suspended)
     		return;
    @@ -508,10 +486,29 @@ void __thermal_zone_device_update(struct thermal_zone_device *tz,
     	if (!thermal_zone_device_is_enabled(tz))
     		return;
     
    -	update_temperature(tz);
    +	ret = __thermal_zone_get_temp(tz, &temp);
    +	if (ret) {
    +		if (ret != -EAGAIN)
    +			dev_info(&tz->device, "Temperature check failed (%d)\n", ret);
     
    -	if (tz->temperature == THERMAL_TEMP_INVALID)
    +		thermal_zone_device_set_polling(tz, msecs_to_jiffies(THERMAL_RECHECK_DELAY_MS));
    +		return;
    +	} else if (temp <= THERMAL_TEMP_INVALID) {
    +		/*
    +		 * Special case: No valid temperature value is available, but
    +		 * the zone owner does not want the core to do anything about
    +		 * it.  Continue regular zone polling if needed, so that this
    +		 * function can be called again, but skip everything else.
    +		 */
     		goto monitor;
    +	}
    +
    +	tz->last_temperature = tz->temperature;
    +	tz->temperature = temp;
    +
    +	trace_thermal_temperature(tz);
    +
    +	thermal_genl_sampling_temp(tz->id, temp);
     
     	__thermal_zone_set_trips(tz);
     
    diff --git a/drivers/thermal/thermal_core.h b/drivers/thermal/thermal_core.h
    index 94eeb4011a481..5afd541d54b0b 100644
    --- a/drivers/thermal/thermal_core.h
    +++ b/drivers/thermal/thermal_core.h
    @@ -133,6 +133,9 @@ struct thermal_zone_device {
     	struct thermal_trip_desc trips[] __counted_by(num_trips);
     };
     
    +/* Initial thermal zone temperature. */
    +#define THERMAL_TEMP_INIT	INT_MIN
    +
     /*
      * Default delay after a failing thermal zone temperature check before
      * attempting to check it again.
    diff --git a/drivers/thermal/thermal_helpers.c b/drivers/thermal/thermal_helpers.c
    index d9f4e26ec1257..36f872b840ba8 100644
    --- a/drivers/thermal/thermal_helpers.c
    +++ b/drivers/thermal/thermal_helpers.c
    @@ -140,6 +140,8 @@ int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp)
     	}
     
     	ret = __thermal_zone_get_temp(tz, temp);
    +	if (!ret && *temp <= THERMAL_TEMP_INVALID)
    +		ret = -ENODATA;
     
     unlock:
     	mutex_unlock(&tz->lock);
    diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
    index 983dad8c07ecd..efed7f09876de 100644
    --- a/fs/ext4/ext4.h
    +++ b/fs/ext4/ext4.h
    @@ -1347,7 +1347,7 @@ struct ext4_super_block {
     /*60*/	__le32	s_feature_incompat;	/* incompatible feature set */
     	__le32	s_feature_ro_compat;	/* readonly-compatible feature set */
     /*68*/	__u8	s_uuid[16];		/* 128-bit uuid for volume */
    -/*78*/	char	s_volume_name[EXT4_LABEL_MAX];	/* volume name */
    +/*78*/	char	s_volume_name[EXT4_LABEL_MAX] __nonstring; /* volume name */
     /*88*/	char	s_last_mounted[64] __nonstring;	/* directory where last mounted */
     /*C8*/	__le32	s_algorithm_usage_bitmap; /* For compression */
     	/*
    diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c
    index dab7acd497092..e8bf5972dd47b 100644
    --- a/fs/ext4/ioctl.c
    +++ b/fs/ext4/ioctl.c
    @@ -1151,7 +1151,7 @@ static int ext4_ioctl_getlabel(struct ext4_sb_info *sbi, char __user *user_label
     	BUILD_BUG_ON(EXT4_LABEL_MAX >= FSLABEL_MAX);
     
     	lock_buffer(sbi->s_sbh);
    -	strscpy_pad(label, sbi->s_es->s_volume_name);
    +	memtostr_pad(label, sbi->s_es->s_volume_name);
     	unlock_buffer(sbi->s_sbh);
     
     	if (copy_to_user(user_label, label, sizeof(label)))
    diff --git a/fs/smb/client/cifsfs.c b/fs/smb/client/cifsfs.c
    index 6397fdefd876d..c92937bed1331 100644
    --- a/fs/smb/client/cifsfs.c
    +++ b/fs/smb/client/cifsfs.c
    @@ -1359,7 +1359,7 @@ ssize_t cifs_file_copychunk_range(unsigned int xid,
     	target_tcon = tlink_tcon(smb_file_target->tlink);
     
     	if (src_tcon->ses != target_tcon->ses) {
    -		cifs_dbg(VFS, "source and target of copy not on same server\n");
    +		cifs_dbg(FYI, "source and target of copy not on same server\n");
     		goto out;
     	}
     
    diff --git a/fs/smb/client/file.c b/fs/smb/client/file.c
    index 1374635e89fae..04ec1b9737a89 100644
    --- a/fs/smb/client/file.c
    +++ b/fs/smb/client/file.c
    @@ -123,6 +123,11 @@ static void cifs_issue_write(struct netfs_io_subrequest *subreq)
     	goto out;
     }
     
    +static void cifs_netfs_invalidate_cache(struct netfs_io_request *wreq)
    +{
    +	cifs_invalidate_cache(wreq->inode, 0);
    +}
    +
     /*
      * Split the read up according to how many credits we can get for each piece.
      * It's okay to sleep here if we need to wait for more credit to become
    @@ -307,6 +312,7 @@ const struct netfs_request_ops cifs_req_ops = {
     	.begin_writeback	= cifs_begin_writeback,
     	.prepare_write		= cifs_prepare_write,
     	.issue_write		= cifs_issue_write,
    +	.invalidate_cache	= cifs_netfs_invalidate_cache,
     };
     
     /*
    @@ -2358,13 +2364,18 @@ void cifs_write_subrequest_terminated(struct cifs_io_subrequest *wdata, ssize_t
     				      bool was_async)
     {
     	struct netfs_io_request *wreq = wdata->rreq;
    -	loff_t new_server_eof;
    +	struct netfs_inode *ictx = netfs_inode(wreq->inode);
    +	loff_t wrend;
     
     	if (result > 0) {
    -		new_server_eof = wdata->subreq.start + wdata->subreq.transferred + result;
    +		wrend = wdata->subreq.start + wdata->subreq.transferred + result;
     
    -		if (new_server_eof > netfs_inode(wreq->inode)->remote_i_size)
    -			netfs_resize_file(netfs_inode(wreq->inode), new_server_eof, true);
    +		if (wrend > ictx->zero_point &&
    +		    (wdata->rreq->origin == NETFS_UNBUFFERED_WRITE ||
    +		     wdata->rreq->origin == NETFS_DIO_WRITE))
    +			ictx->zero_point = wrend;
    +		if (wrend > ictx->remote_i_size)
    +			netfs_resize_file(ictx, wrend, true);
     	}
     
     	netfs_write_subrequest_terminated(&wdata->subreq, result, was_async);
    @@ -2877,6 +2888,7 @@ cifs_strict_readv(struct kiocb *iocb, struct iov_iter *to)
     		rc = netfs_start_io_direct(inode);
     		if (rc < 0)
     			goto out;
    +		rc = -EACCES;
     		down_read(&cinode->lock_sem);
     		if (!cifs_find_lock_conflict(
     			    cfile, iocb->ki_pos, iov_iter_count(to),
    @@ -2889,6 +2901,7 @@ cifs_strict_readv(struct kiocb *iocb, struct iov_iter *to)
     		rc = netfs_start_io_read(inode);
     		if (rc < 0)
     			goto out;
    +		rc = -EACCES;
     		down_read(&cinode->lock_sem);
     		if (!cifs_find_lock_conflict(
     			    cfile, iocb->ki_pos, iov_iter_count(to),
    diff --git a/fs/smb/client/smb2pdu.c b/fs/smb/client/smb2pdu.c
    index 2ae2dbb6202b3..bb84a89e59059 100644
    --- a/fs/smb/client/smb2pdu.c
    +++ b/fs/smb/client/smb2pdu.c
    @@ -4859,9 +4859,6 @@ smb2_async_writev(struct cifs_io_subrequest *wdata)
     	struct cifs_io_parms *io_parms = NULL;
     	int credit_request;
     
    -	if (!wdata->server || test_bit(NETFS_SREQ_RETRYING, &wdata->subreq.flags))
    -		server = wdata->server = cifs_pick_channel(tcon->ses);
    -
     	/*
     	 * in future we may get cifs_io_parms passed in from the caller,
     	 * but for now we construct it here...
    diff --git a/include/sound/cs35l56.h b/include/sound/cs35l56.h
    index 1a3c6f66f6205..dc627ebf01df8 100644
    --- a/include/sound/cs35l56.h
    +++ b/include/sound/cs35l56.h
    @@ -209,7 +209,7 @@
     
     /* CS35L56_MAIN_RENDER_USER_VOLUME */
     #define CS35L56_MAIN_RENDER_USER_VOLUME_MIN		-400
    -#define CS35L56_MAIN_RENDER_USER_VOLUME_MAX		400
    +#define CS35L56_MAIN_RENDER_USER_VOLUME_MAX		48
     #define CS35L56_MAIN_RENDER_USER_VOLUME_MASK		0x0000FFC0
     #define CS35L56_MAIN_RENDER_USER_VOLUME_SHIFT		6
     #define CS35L56_MAIN_RENDER_USER_VOLUME_SIGNBIT		9
    diff --git a/io_uring/kbuf.c b/io_uring/kbuf.c
    index d2945c9c812b5..c95dc1736dd93 100644
    --- a/io_uring/kbuf.c
    +++ b/io_uring/kbuf.c
    @@ -657,8 +657,10 @@ static int io_alloc_pbuf_ring(struct io_ring_ctx *ctx,
     	ring_size = reg->ring_entries * sizeof(struct io_uring_buf_ring);
     
     	bl->buf_ring = io_pages_map(&bl->buf_pages, &bl->buf_nr_pages, ring_size);
    -	if (!bl->buf_ring)
    +	if (IS_ERR(bl->buf_ring)) {
    +		bl->buf_ring = NULL;
     		return -ENOMEM;
    +	}
     
     	bl->is_buf_ring = 1;
     	bl->is_mmap = 1;
    diff --git a/sound/soc/codecs/cs35l56.c b/sound/soc/codecs/cs35l56.c
    index 758dfdf9d3eac..7f2f2f8c13fae 100644
    --- a/sound/soc/codecs/cs35l56.c
    +++ b/sound/soc/codecs/cs35l56.c
    @@ -196,7 +196,11 @@ static const struct snd_kcontrol_new cs35l56_controls[] = {
     		       cs35l56_dspwait_get_volsw, cs35l56_dspwait_put_volsw),
     	SOC_SINGLE_S_EXT_TLV("Speaker Volume",
     			     CS35L56_MAIN_RENDER_USER_VOLUME,
    -			     6, -400, 400, 9, 0,
    +			     CS35L56_MAIN_RENDER_USER_VOLUME_SHIFT,
    +			     CS35L56_MAIN_RENDER_USER_VOLUME_MIN,
    +			     CS35L56_MAIN_RENDER_USER_VOLUME_MAX,
    +			     CS35L56_MAIN_RENDER_USER_VOLUME_SIGNBIT,
    +			     0,
     			     cs35l56_dspwait_get_volsw,
     			     cs35l56_dspwait_put_volsw,
     			     vol_tlv),



    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Patch 6.0.1 (Bash)
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
     
     # SPDX-License-Identifier: GPL-2.0
     VERSION = 6
     PATCHLEVEL = 10
     EXTRAVERSION =
     NAME = Baby Opossum Posse


    DIFF
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
     
    diff --git a/Makefile b/Makefile
    index 3d10e3aadeda2..9ae12a6c0ece2 100644
    --- a/Makefile
    +++ b/Makefile
    @@ -1,7 +1,7 @@
    -SUBLEVEL = 0
    +SUBLEVEL = 1
     
     
    diff --git a/drivers/char/tpm/tpm2-sessions.c b/drivers/char/tpm/tpm2-sessions.c
    index 2281d55df5456..d3521aadd43ee 100644
    --- a/drivers/char/tpm/tpm2-sessions.c
    +++ b/drivers/char/tpm/tpm2-sessions.c
    @@ -746,15 +746,16 @@ int tpm_buf_check_hmac_response(struct tpm_chip *chip, struct tpm_buf *buf,
     	struct tpm2_auth *auth = chip->auth;
     	off_t offset_s, offset_p;
     	u8 rphash[SHA256_DIGEST_SIZE];
    -	u32 attrs;
    +	u32 attrs, cc;
     	struct sha256_state sctx;
     	u16 tag = be16_to_cpu(head->tag);
    -	u32 cc = be32_to_cpu(auth->ordinal);
     	int parm_len, len, i, handles;
     	if (!auth)
     		return rc;
    +	cc = be32_to_cpu(auth->ordinal);
    +
     	if (auth->session >= TPM_HEADER_SIZE) {
     		WARN(1, "tpm session not filled correctly\n");
     		goto out;
     
     
     
     
    diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
    index ecc748d15eb7c..4e7fec406ee59 100644
    --- a/drivers/thermal/thermal_core.c
    +++ b/drivers/thermal/thermal_core.c
    @@ -300,8 +300,6 @@ static void monitor_thermal_zone(struct thermal_zone_device *tz)
     		thermal_zone_device_set_polling(tz, tz->passive_delay_jiffies);
     	else if (tz->polling_delay_jiffies)
     		thermal_zone_device_set_polling(tz, tz->polling_delay_jiffies);
    -	else if (tz->temperature == THERMAL_TEMP_INVALID)
    -		thermal_zone_device_set_polling(tz, msecs_to_jiffies(THERMAL_RECHECK_DELAY_MS));
     }
     static struct thermal_governor *thermal_get_tz_governor(struct thermal_zone_device *tz)
    @@ -382,7 +380,7 @@ static void handle_thermal_trip(struct thermal_zone_device *tz,
     	td->threshold = trip->temperature;
     
     	if (tz->last_temperature >= old_threshold &&
    -	    tz->last_temperature != THERMAL_TEMP_INVALID) {
    +	    tz->last_temperature != THERMAL_TEMP_INIT) {
     		/*
     		 * Mitigation is under way, so it needs to stop if the zone
     		 * temperature falls below the low temperature of the trip.
    @@ -417,27 +415,6 @@ static void handle_thermal_trip(struct thermal_zone_device *tz,
     	}
     } 
    -static void update_temperature(struct thermal_zone_device *tz)
    -{
    -	int temp, ret;
    -
    -	ret = __thermal_zone_get_temp(tz, &temp);
    -	if (ret) {
    -		if (ret != -EAGAIN)
    -			dev_warn(&tz->device,
    -				 "failed to read out thermal zone (%d)\n",
    -				 ret);
    -		return;
    -	}
    -
    -	tz->last_temperature = tz->temperature;
    -	tz->temperature = temp;
    -
    -	trace_thermal_temperature(tz);
    -
    -	thermal_genl_sampling_temp(tz->id, temp);
    -}
    -
     static void thermal_zone_device_check(struct work_struct *work)
     {
     	struct thermal_zone_device *tz = container_of(work, struct
    @@ -452,7 +429,7 @@ static void thermal_zone_device_init(struct thermal_zone_device *tz)
     
     	INIT_DELAYED_WORK(&tz->poll_queue, thermal_zone_device_check);
     
    -	tz->temperature = THERMAL_TEMP_INVALID;
    +	tz->temperature = THERMAL_TEMP_INIT;
     	tz->passive = 0;
     	tz->prev_low_trip = -INT_MAX;
     	tz->prev_high_trip = INT_MAX;
    @@ -501,6 +478,7 @@ void __thermal_zone_device_update(struct thermal_zone_device *tz,
     	struct thermal_trip_desc *td;
     	LIST_HEAD(way_down_list);
     	LIST_HEAD(way_up_list);
    +	int temp, ret;
     	if (tz->suspended)
     		return;
    @@ -508,10 +486,29 @@ void __thermal_zone_device_update(struct thermal_zone_device *tz,
     	if (!thermal_zone_device_is_enabled(tz))
     		return;
    -	update_temperature(tz);
    +	ret = __thermal_zone_get_temp(tz, &temp);
    +	if (ret) {
    +		if (ret != -EAGAIN)
    +			dev_info(&tz->device, "Temperature check failed (%d)\n", ret);
    -	if (tz->temperature == THERMAL_TEMP_INVALID)
    +		thermal_zone_device_set_polling(tz, msecs_to_jiffies(THERMAL_RECHECK_DELAY_MS));
    +		return;
    +	} else if (temp <= THERMAL_TEMP_INVALID) {
    +		/*
    +		 * Special case: No valid temperature value is available, but
    +		 * the zone owner does not want the core to do anything about
    +		 * it.  Continue regular zone polling if needed, so that this
    +		 * function can be called again, but skip everything else.
    +		 */
     		goto monitor;
    +	}
    +
    +	tz->last_temperature = tz->temperature;
    +	tz->temperature = temp;
    +
    +	trace_thermal_temperature(tz);
    +
    +	thermal_genl_sampling_temp(tz->id, temp);
     
     	__thermal_zone_set_trips(tz);
     
     
    diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/tt.c b/drivers/net/wireless/intel/iwlwifi/mvm/tt.c
    index 61a4638d1be2f..237cb1ef79759 100644
    --- a/drivers/net/wireless/intel/iwlwifi/mvm/tt.c
    +++ b/drivers/net/wireless/intel/iwlwifi/mvm/tt.c
    @@ -622,7 +622,12 @@ static int iwl_mvm_tzone_get_temp(struct thermal_zone_device *device,
     
     	if (!iwl_mvm_firmware_running(mvm) ||
     	    mvm->fwrt.cur_fw_img != IWL_UCODE_REGULAR) {
    -		ret = -ENODATA;
    +		/*
    +		 * Tell the core that there is no valid temperature value to
    +		 * return, but it need not worry about this.
    +		 */
    +		*temperature = THERMAL_TEMP_INVALID;
    +		ret = 0;
     		goto out;
     	}
     
     
    diff --git a/drivers/thermal/thermal_core.h b/drivers/thermal/thermal_core.h
    index 94eeb4011a481..5afd541d54b0b 100644
    --- a/drivers/thermal/thermal_core.h
    +++ b/drivers/thermal/thermal_core.h
    @@ -133,6 +133,9 @@ struct thermal_zone_device {
     	struct thermal_trip_desc trips[] __counted_by(num_trips);
     };
     
    +/* Initial thermal zone temperature. */
    +#define THERMAL_TEMP_INIT	INT_MIN
    +
     /*
      * Default delay after a failing thermal zone temperature check before
      * attempting to check it again.
     
     
    diff --git a/drivers/thermal/thermal_helpers.c b/drivers/thermal/thermal_helpers.c
    index d9f4e26ec1257..36f872b840ba8 100644
    --- a/drivers/thermal/thermal_helpers.c
    +++ b/drivers/thermal/thermal_helpers.c
    @@ -140,6 +140,8 @@ int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp)
     	}
     	ret = __thermal_zone_get_temp(tz, temp);
    +	if (!ret && *temp <= THERMAL_TEMP_INVALID)
    +		ret = -ENODATA;
     unlock:
     	mutex_unlock(&tz->lock);
     
     
     
    diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
    index 983dad8c07ecd..efed7f09876de 100644
    --- a/fs/ext4/ext4.h
    +++ b/fs/ext4/ext4.h
    @@ -1347,7 +1347,7 @@ struct ext4_super_block {
     /*60*/	__le32	s_feature_incompat;	/* incompatible feature set */
     	__le32	s_feature_ro_compat;	/* readonly-compatible feature set */
     /*68*/	__u8	s_uuid[16];		/* 128-bit uuid for volume */
    -/*78*/	char	s_volume_name[EXT4_LABEL_MAX];	/* volume name */
    +/*78*/	char	s_volume_name[EXT4_LABEL_MAX] __nonstring; /* volume name */
     /*88*/	char	s_last_mounted[64] __nonstring;	/* directory where last mounted */
     /*C8*/	__le32	s_algorithm_usage_bitmap; /* For compression */
     	/*
     
     
     
    diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c
    index dab7acd497092..e8bf5972dd47b 100644
    --- a/fs/ext4/ioctl.c
    +++ b/fs/ext4/ioctl.c
    @@ -1151,7 +1151,7 @@ static int ext4_ioctl_getlabel(struct ext4_sb_info *sbi, char __user *user_label
     	BUILD_BUG_ON(EXT4_LABEL_MAX >= FSLABEL_MAX);
     	lock_buffer(sbi->s_sbh);
    -	strscpy_pad(label, sbi->s_es->s_volume_name);
    +	memtostr_pad(label, sbi->s_es->s_volume_name);
     	unlock_buffer(sbi->s_sbh);
     	if (copy_to_user(user_label, label, sizeof(label)))
     
     
     
    diff --git a/fs/smb/client/cifsfs.c b/fs/smb/client/cifsfs.c
    index 6397fdefd876d..c92937bed1331 100644
    --- a/fs/smb/client/cifsfs.c
    +++ b/fs/smb/client/cifsfs.c
    @@ -1359,7 +1359,7 @@ ssize_t cifs_file_copychunk_range(unsigned int xid,
     	target_tcon = tlink_tcon(smb_file_target->tlink);
     
     	if (src_tcon->ses != target_tcon->ses) {
    -		cifs_dbg(VFS, "source and target of copy not on same server\n");
    +		cifs_dbg(FYI, "source and target of copy not on same server\n");
     		goto out;
     	}
     
     
     
    diff --git a/fs/smb/client/file.c b/fs/smb/client/file.c
    index 1374635e89fae..04ec1b9737a89 100644
    --- a/fs/smb/client/file.c
    +++ b/fs/smb/client/file.c
    @@ -123,6 +123,11 @@ static void cifs_issue_write(struct netfs_io_subrequest *subreq)
     	goto out;
     }
    +static void cifs_netfs_invalidate_cache(struct netfs_io_request *wreq)
    +{
    +	cifs_invalidate_cache(wreq->inode, 0);
    +}
    +
     /*
      * Split the read up according to how many credits we can get for each piece.
      * It's okay to sleep here if we need to wait for more credit to become
    @@ -307,6 +312,7 @@ const struct netfs_request_ops cifs_req_ops = {
     	.begin_writeback	= cifs_begin_writeback,
     	.prepare_write		= cifs_prepare_write,
     	.issue_write		= cifs_issue_write,
    +	.invalidate_cache	= cifs_netfs_invalidate_cache,
     };
     
     /*
    @@ -2358,13 +2364,18 @@ void cifs_write_subrequest_terminated(struct cifs_io_subrequest *wdata, ssize_t
     				      bool was_async)
     {
     	struct netfs_io_request *wreq = wdata->rreq;
    -	loff_t new_server_eof;
    +	struct netfs_inode *ictx = netfs_inode(wreq->inode);
    +	loff_t wrend;
     	if (result > 0) {
    -		new_server_eof = wdata->subreq.start + wdata->subreq.transferred + result;
    +		wrend = wdata->subreq.start + wdata->subreq.transferred + result;
     
    -		if (new_server_eof > netfs_inode(wreq->inode)->remote_i_size)
    -			netfs_resize_file(netfs_inode(wreq->inode), new_server_eof, true);
    +		if (wrend > ictx->zero_point &&
    +		    (wdata->rreq->origin == NETFS_UNBUFFERED_WRITE ||
    +		     wdata->rreq->origin == NETFS_DIO_WRITE))
    +			ictx->zero_point = wrend;
    +		if (wrend > ictx->remote_i_size)
    +			netfs_resize_file(ictx, wrend, true);
     	}
     	netfs_write_subrequest_terminated(&wdata->subreq, result, was_async);
    @@ -2877,6 +2888,7 @@ cifs_strict_readv(struct kiocb *iocb, struct iov_iter *to)
     		rc = netfs_start_io_direct(inode);
     		if (rc < 0)
     			goto out;
    +		rc = -EACCES;
     		down_read(&cinode->lock_sem);
     		if (!cifs_find_lock_conflict(
     			    cfile, iocb->ki_pos, iov_iter_count(to),
    @@ -2889,6 +2901,7 @@ cifs_strict_readv(struct kiocb *iocb, struct iov_iter *to)
     		rc = netfs_start_io_read(inode);
     		if (rc < 0)
     			goto out;
    +		rc = -EACCES;
     		down_read(&cinode->lock_sem);
     		if (!cifs_find_lock_conflict(
     			    cfile, iocb->ki_pos, iov_iter_count(to),
     
     
    diff --git a/fs/smb/client/smb2pdu.c b/fs/smb/client/smb2pdu.c
    index 2ae2dbb6202b3..bb84a89e59059 100644
    --- a/fs/smb/client/smb2pdu.c
    +++ b/fs/smb/client/smb2pdu.c
    @@ -4859,9 +4859,6 @@ smb2_async_writev(struct cifs_io_subrequest *wdata)
     	struct cifs_io_parms *io_parms = NULL;
     	int credit_request;
    -	if (!wdata->server || test_bit(NETFS_SREQ_RETRYING, &wdata->subreq.flags))
    -		server = wdata->server = cifs_pick_channel(tcon->ses);
    -
     	/*
     	 * in future we may get cifs_io_parms passed in from the caller,
     	 * but for now we construct it here...
     
     
    diff --git a/include/sound/cs35l56.h b/include/sound/cs35l56.h
    index 1a3c6f66f6205..dc627ebf01df8 100644
    --- a/include/sound/cs35l56.h
    +++ b/include/sound/cs35l56.h
    @@ -209,7 +209,7 @@
     /* CS35L56_MAIN_RENDER_USER_VOLUME */
     #define CS35L56_MAIN_RENDER_USER_VOLUME_MIN		-400
    -#define CS35L56_MAIN_RENDER_USER_VOLUME_MAX		400
    +#define CS35L56_MAIN_RENDER_USER_VOLUME_MAX		48
     #define CS35L56_MAIN_RENDER_USER_VOLUME_MASK		0x0000FFC0
     #define CS35L56_MAIN_RENDER_USER_VOLUME_SHIFT		6
     #define CS35L56_MAIN_RENDER_USER_VOLUME_SIGNBIT		9
     
     
     
    diff --git a/io_uring/kbuf.c b/io_uring/kbuf.c
    index d2945c9c812b5..c95dc1736dd93 100644
    --- a/io_uring/kbuf.c
    +++ b/io_uring/kbuf.c
    @@ -657,8 +657,10 @@ static int io_alloc_pbuf_ring(struct io_ring_ctx *ctx,
     	ring_size = reg->ring_entries * sizeof(struct io_uring_buf_ring);
     	bl->buf_ring = io_pages_map(&bl->buf_pages, &bl->buf_nr_pages, ring_size);
    -	if (!bl->buf_ring)
    +	if (IS_ERR(bl->buf_ring)) {
    +		bl->buf_ring = NULL;
     		return -ENOMEM;
    +	}
     
     	bl->is_buf_ring = 1;
     	bl->is_mmap = 1;
     
     
     
     
    diff --git a/sound/soc/codecs/cs35l56.c b/sound/soc/codecs/cs35l56.c
    index 758dfdf9d3eac..7f2f2f8c13fae 100644
    --- a/sound/soc/codecs/cs35l56.c
    +++ b/sound/soc/codecs/cs35l56.c
    @@ -196,7 +196,11 @@ static const struct snd_kcontrol_new cs35l56_controls[] = {
     		       cs35l56_dspwait_get_volsw, cs35l56_dspwait_put_volsw),
     	SOC_SINGLE_S_EXT_TLV("Speaker Volume",
     			     CS35L56_MAIN_RENDER_USER_VOLUME,
    -			     6, -400, 400, 9, 0,
    +			     CS35L56_MAIN_RENDER_USER_VOLUME_SHIFT,
    +			     CS35L56_MAIN_RENDER_USER_VOLUME_MIN,
    +			     CS35L56_MAIN_RENDER_USER_VOLUME_MAX,
    +			     CS35L56_MAIN_RENDER_USER_VOLUME_SIGNBIT,
    +			     0,
     			     cs35l56_dspwait_get_volsw,
     			     cs35l56_dspwait_put_volsw,
     			     vol_tlv),

  6. #6
    Expert confirmé
    Avatar de fred1599
    Homme Profil pro
    Lead Dev Python
    Inscrit en
    Juillet 2006
    Messages
    4 060
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Meurthe et Moselle (Lorraine)

    Informations professionnelles :
    Activité : Lead Dev Python
    Secteur : Arts - Culture

    Informations forums :
    Inscription : Juillet 2006
    Messages : 4 060
    Par défaut
    Eh bien vous n'avez plus qu'à tester et voir si il y a une erreur, puis au cas où faire une recherche.

    Dès que la recherche est faîte, soit vous savez corrigez, soit vous revenez pour qu'on voit cela ensemble.

    On ne peut pas vouloir apprendre et vouloir avoir tout dans le bec, il faut mettre les mains dans le cambouis, ce qui est clairement cela lorsqu'on veut compiler du kernel
    Celui qui trouve sans chercher est celui qui a longtemps cherché sans trouver.(Bachelard)
    La connaissance s'acquiert par l'expérience, tout le reste n'est que de l'information.(Einstein)

  7. #7
    Membre confirmé
    Avatar de dexter74
    Profil pro
    Inscrit en
    Avril 2009
    Messages
    120
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2009
    Messages : 120
    Billets dans le blog
    3
    Par défaut re
    Bonjour,

    Je viens d'avoir l'erreur suivante lors de la compilation, j'installe le paquet pahole (dwarves) et je relance.

    Nom : Pahole.png
Affichages : 52
Taille : 13,0 Ko

    Q1) Est ce que je peux relancer la compilation, ou make clean avant ?
    Q2) Est ce utile d'avoir un fichier contenant la log de la compilation ?
    Q3) Comment puis-je valider que le noyau peut fonctionner ?

    Merci d'avance.

  8. #8
    Expert confirmé
    Avatar de fred1599
    Homme Profil pro
    Lead Dev Python
    Inscrit en
    Juillet 2006
    Messages
    4 060
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Meurthe et Moselle (Lorraine)

    Informations professionnelles :
    Activité : Lead Dev Python
    Secteur : Arts - Culture

    Informations forums :
    Inscription : Juillet 2006
    Messages : 4 060
    Par défaut
    Hello,

    Il est fortement conseillé d'effectuer un make clean avant de relancer la compilation. Cette commande supprime la plupart des fichiers générés de l'arborescence des sources du noyau, y compris les fichiers objets (*.o) et l'exécutable principal du noyau (vmlinux), mais elle laisse généralement intact le fichier de configuration du noyau (.config). Étant donné que la tentative de construction précédente a échoué à cause de l'outil pahole manquant, et que cet outil est impliqué dans la génération de fichiers intermédiaires (comme .tmp_vmlinux.btf), il pourrait y avoir des artefacts obsolètes ou incomplets issus de la construction échouée. Un make clean garantit leur suppression, forçant le système de construction à les régénérer correctement avec pahole.

    Pour la question suivante, les logs ne sont pas là pour embêter, je ne comprend pas bien votre question... Il semble évident que oui les logs sont un besoin majeur pour vérifier que la compilation s'est bien passée.
    Pour journaliser la sortie, la méthode la plus courante consiste à rediriger à la fois la sortie standard (stdout) et l'erreur standard (stderr) vers un fichier. L'utilisation de tee est recommandée si l'on souhaite voir la sortie sur le terminal simultanément

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    make |& tee compilation.log
    ou

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    make > compilation.log 2>&1
    Celui qui trouve sans chercher est celui qui a longtemps cherché sans trouver.(Bachelard)
    La connaissance s'acquiert par l'expérience, tout le reste n'est que de l'information.(Einstein)

  9. #9
    Membre confirmé
    Avatar de dexter74
    Profil pro
    Inscrit en
    Avril 2009
    Messages
    120
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2009
    Messages : 120
    Billets dans le blog
    3
    Par défaut
    Bonjour,

    Je rencontres quelque problème de compilation.

    Hôte
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    Distribution: Debian 12 (bookworm)
    Kernel: 6.1.0-37-amd64
    Patch 1: OK
    Action entre patch
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     sed -i -e "s/SUBLEVEL \= 1/SUBLEVEL \= 0/g" Makefile
    Patch 2: OK

    Action entre patch
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     sed -i -e "s/SUBLEVEL \= 2/SUBLEVEL \= 0/g" Makefile

    Patch 3: Présence de reject
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    Hunk #2 FAILED at 3091.
    1 out of 2 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/msm8996.dtsi.rej
    patching file arch/arm64/boot/dts/qcom/msm8998.dtsi
    Hunk #2 FAILED at 2163.
    1 out of 2 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/msm8998.dtsi.rej
    Hunk #3 FAILED at 294.
    Hunk #4 FAILED at 403.
    2 out of 4 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/qrb4210-rb2.dts.rej
    Hunk #2 FAILED at 3066.
    1 out of 2 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/sc7180.dtsi.rej
    Hunk #2 FAILED at 4150.
    Hunk #3 succeeded at 5408 (offset 1 line).
    1 out of 3 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/sc7280.dtsi.rej
    Hunk #2 FAILED at 4108.
    Hunk #3 FAILED at 4163.
    2 out of 3 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/sdm845.dtsi.rej
    Hunk #2 FAILED at 1658.
    1 out of 2 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/sm6115.dtsi.rej
    Hunk #4 FAILED at 1894.
    1 out of 4 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/sm6350.dtsi.rej
    Hunk #2 FAILED at 840.
    Hunk #4 FAILED at 862.
    Hunk #6 FAILED at 884.
    3 out of 7 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-crd.dts.rej
    Hunk #2 FAILED at 536.
    Hunk #4 FAILED at 558.
    Hunk #6 FAILED at 580.
    3 out of 7 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-qcp.dts.rej

    Action entre patch
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     sed -i -e "s/SUBLEVEL \= 3/SUBLEVEL \= 0/g" Makefile
    Patch 4: Présence de reject
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    3 out of 7 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-crd.dts.rej
    3 out of 7 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-qcp.dts.rej
    8 out of 10 hunks FAILED -- saving rejects to file arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi.rej
    1 out of 6 hunks FAILED -- saving rejects to file drivers/bluetooth/btintel.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/Kconfig.rej
    2 out of 4 hunks FAILED -- saving rejects to file fs/f2fs/file.c.rej
    3 out of 4 hunks FAILED -- saving rejects to file fs/f2fs/segment.c.rej
    3 out of 5 hunks FAILED -- saving rejects to file mm/huge_memory.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file mm/memory.c.rej
    3 out of 4 hunks FAILED -- saving rejects to file net/bluetooth/hci_core.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file net/bluetooth/hci_sync.c.rej
    2 out of 4 hunks FAILED -- saving rejects to file net/ipv4/tcp_input.c.rej
    2 out of 4 hunks FAILED -- saving rejects to file net/mac80211/tx.c.rej
    1 out of 7 hunks FAILED -- saving rejects to file sound/firewire/amdtp-stream.c.rej
    4 out of 5 hunks FAILED -- saving rejects to file sound/pci/hda/patch_realtek.c.rej
    Action entre patch
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     sed -i -e "s/SUBLEVEL \= 4/SUBLEVEL \= 0/g" Makefile
    Patch 5: Présence de reject
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    Hunk #2 FAILED at 3091.
    1 out of 2 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/msm8996.dtsi.rej
    patching file arch/arm64/boot/dts/qcom/msm8998.dtsi
    Hunk #2 FAILED at 2163.
    1 out of 2 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/msm8998.dtsi.rej
    Hunk #3 FAILED at 294.
    Hunk #4 FAILED at 403.
    2 out of 4 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/qrb4210-rb2.dts.rej
    Hunk #2 FAILED at 3066.
    1 out of 2 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/sc7180.dtsi.rej
    Hunk #2 FAILED at 4150.
    Hunk #3 succeeded at 5408 (offset 1 line).
    1 out of 3 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/sc7280.dtsi.rej
    Hunk #2 FAILED at 4108.
    Hunk #3 FAILED at 4163.
    2 out of 3 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/sdm845.dtsi.rej
    Hunk #2 FAILED at 1658.
    1 out of 2 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/sm6115.dtsi.rej
    Hunk #4 FAILED at 1894.
    1 out of 4 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/sm6350.dtsi.rej
    Hunk #2 FAILED at 840.
    Hunk #4 FAILED at 862.
    Hunk #6 FAILED at 884.
    3 out of 7 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-crd.dts.rej
    Hunk #2 FAILED at 536.
    Hunk #4 FAILED at 558.
    Hunk #6 FAILED at 580.
    3 out of 7 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-qcp.dts.rej
    Action entre patch Présence de reject
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     sed -i -e "s/SUBLEVEL \= 5/SUBLEVEL \= 0/g" Makefile
    Patch 6:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    1 out of 2 hunks FAILED -- saving rejects to file Documentation/netlink/specs/ethtool.yaml.rej
    3 out of 7 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-crd.dts.rej
    3 out of 7 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-qcp.dts.rej
    2 out of 10 hunks FAILED -- saving rejects to file arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi.rej
    1 out of 6 hunks FAILED -- saving rejects to file drivers/ata/libata-scsi.c.rej
    10 out of 13 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c.rej
    1 out of 1 hunk FAILED -- saving rejects to file drivers/gpu/drm/drm_atomic_uapi.c.rej
    1 out of 5 hunks FAILED -- saving rejects to file drivers/nvme/host/pci.c.rej
    1 out of 6 hunks FAILED -- saving rejects to file drivers/usb/gadget/function/f_midi2.c.rej
    1 out of 5 hunks FAILED -- saving rejects to file fs/f2fs/f2fs.h.rej
    2 out of 4 hunks FAILED -- saving rejects to file fs/f2fs/file.c.rej
    1 out of 7 hunks FAILED -- saving rejects to file fs/f2fs/gc.c.rej
    1 out of 4 hunks FAILED -- saving rejects to file fs/f2fs/inode.c.rej
    6 out of 7 hunks FAILED -- saving rejects to file fs/ntfs3/frecord.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file net/core/filter.c.rej
    4 out of 4 hunks FAILED -- saving rejects to file sound/soc/codecs/cs35l56-shared.c.rej
    Action entre patch
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     sed -i -e "s/SUBLEVEL \= 6/SUBLEVEL \= 0/g" Makefile
    Patch 7: Présence de reject
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    1 out of 2 hunks FAILED -- saving rejects to file Documentation/netlink/specs/ethtool.yaml.rej
    3 out of 7 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-crd.dts.rej
    3 out of 7 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-qcp.dts.rej
    2 out of 10 hunks FAILED -- saving rejects to file arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi.rej
    2 out of 6 hunks FAILED -- saving rejects to file arch/riscv/mm/init.c.rej
    1 out of 6 hunks FAILED -- saving rejects to file drivers/ata/libata-scsi.c.rej
    2 out of 3 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c.rej
    1 out of 1 hunk FAILED -- saving rejects to file drivers/gpu/drm/drm_atomic_uapi.c.rej
    2 out of 3 hunks FAILED -- saving rejects to file drivers/gpu/drm/v3d/v3d_sched.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/hid/wacom_wac.c.rej
    2 out of 4 hunks FAILED -- saving rejects to file drivers/net/ethernet/intel/ice/ice_base.c.rej
    3 out of 9 hunks FAILED -- saving rejects to file drivers/net/ethernet/intel/ice/ice_txrx.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file drivers/net/ethernet/intel/igc/igc_main.c.rej
    1 out of 5 hunks FAILED -- saving rejects to file drivers/net/ethernet/xilinx/xilinx_axienet_main.c.rej
    1 out of 6 hunks FAILED -- saving rejects to file drivers/usb/gadget/function/f_midi2.c.rej
    2 out of 4 hunks FAILED -- saving rejects to file fs/f2fs/file.c.rej
    1 out of 4 hunks FAILED -- saving rejects to file fs/file.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file fs/locks.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file init/Kconfig.rej
    3 out of 7 hunks FAILED -- saving rejects to file net/bluetooth/hci_core.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file net/bluetooth/hci_event.c.rej
    2 out of 3 hunks FAILED -- saving rejects to file net/ipv4/tcp_input.c.rej
    2 out of 4 hunks FAILED -- saving rejects to file net/mptcp/protocol.h.rej
    6 out of 7 hunks FAILED -- saving rejects to file sound/pci/hda/patch_realtek.c.rej
    4 out of 4 hunks FAILED -- saving rejects to file sound/soc/codecs/cs35l56-shared.c.rej
    18 out of 25 hunks FAILED -- saving rejects to file tools/testing/selftests/net/mptcp/mptcp_join.sh.rej
    Action entre patch
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     sed -i -e "s/SUBLEVEL \= 7/SUBLEVEL \= 0/g" Makefile
    Patch 8: Présence de reject
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    1 out of 2 hunks FAILED -- saving rejects to file Documentation/netlink/specs/ethtool.yaml.rej
    1 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
    3 out of 8 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-crd.dts.rej
    3 out of 8 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-qcp.dts.rej
    2 out of 10 hunks FAILED -- saving rejects to file arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi.rej
    1 out of 6 hunks FAILED -- saving rejects to file drivers/ata/libata-scsi.c.rej
    3 out of 14 hunks FAILED -- saving rejects to file drivers/bluetooth/btnxpuart.c.rej
    3 out of 4 hunks FAILED -- saving rejects to file drivers/cpufreq/amd-pstate-ut.c.rej
    1 out of 10 hunks FAILED -- saving rejects to file drivers/cpufreq/amd-pstate.c.rej
    4 out of 6 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c.rej
    1 out of 1 hunk FAILED -- saving rejects to file drivers/gpu/drm/drm_atomic_uapi.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/display/intel_dp.c.rej
    4 out of 6 hunks FAILED -- saving rejects to file drivers/gpu/drm/xe/display/xe_display.c.rej
    3 out of 5 hunks FAILED -- saving rejects to file drivers/gpu/drm/xe/xe_exec_queue.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/xe/xe_exec_queue_types.h.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/xe/xe_hwmon.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/xe/xe_preempt_fence.c.rej
    3 out of 10 hunks FAILED -- saving rejects to file drivers/net/bonding/bond_main.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/net/gtp.c.rej
    3 out of 4 hunks FAILED -- saving rejects to file drivers/net/wireless/marvell/mwifiex/cfg80211.c.rej
    1 out of 7 hunks FAILED -- saving rejects to file drivers/phy/qualcomm/phy-qcom-qmp-pcie.c.rej
    7 out of 11 hunks FAILED -- saving rejects to file drivers/phy/xilinx/phy-zynqmp.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file drivers/pinctrl/pinctrl-rockchip.c.rej
    3 out of 4 hunks FAILED -- saving rejects to file drivers/pinctrl/pinctrl-single.c.rej
    1 out of 5 hunks FAILED -- saving rejects to file drivers/power/supply/qcom_battmgr.c.rej
    4 out of 5 hunks FAILED -- saving rejects to file drivers/s390/block/dasd_eckd.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file drivers/scsi/sd.c.rej
    1 out of 5 hunks FAILED -- saving rejects to file drivers/soc/qcom/pmic_glink.c.rej
    1 out of 6 hunks FAILED -- saving rejects to file drivers/usb/gadget/function/f_midi2.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file drivers/usb/typec/mux/fsa4480.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file fs/btrfs/qgroup.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file fs/erofs/zutil.c.rej
    2 out of 4 hunks FAILED -- saving rejects to file fs/f2fs/file.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file fs/netfs/io.c.rej
    7 out of 8 hunks FAILED -- saving rejects to file fs/smb/client/cifsglob.h.rej
    4 out of 9 hunks FAILED -- saving rejects to file fs/smb/client/smb2ops.c.rej
    3 out of 11 hunks FAILED -- saving rejects to file fs/smb/client/smb2pdu.c.rej
    3 out of 5 hunks FAILED -- saving rejects to file include/linux/fs.h.rej
    2 out of 3 hunks FAILED -- saving rejects to file io_uring/kbuf.c.rej
    2 out of 3 hunks FAILED -- saving rejects to file net/ipv4/tcp.c.rej
    2 out of 13 hunks FAILED -- saving rejects to file net/mptcp/pm.c.rej
    26 out of 38 hunks FAILED -- saving rejects to file net/mptcp/pm_netlink.c.rej
    1 out of 6 hunks FAILED -- saving rejects to file security/selinux/hooks.c.rej
    1 out of 5 hunks FAILED -- saving rejects to file security/smack/smack_lsm.c.rej
    2 out of 9 hunks FAILED -- saving rejects to file sound/pci/hda/patch_realtek.c.rej
    2 out of 3 hunks FAILED -- saving rejects to file sound/soc/codecs/cs-amp-lib.c.rej
    4 out of 4 hunks FAILED -- saving rejects to file sound/soc/codecs/cs35l56-shared.c.rej
    3 out of 6 hunks FAILED -- saving rejects to file tools/testing/selftests/iommu/iommufd.c.rej
    6 out of 29 hunks FAILED -- saving rejects to file tools/testing/selftests/net/mptcp/mptcp_join.sh.rej
    Action entre patch
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     sed -i -e "s/SUBLEVEL \= 8/SUBLEVEL \= 0/g" Makefile
    Patch 9: Présence de reject
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    1 out of 2 hunks FAILED -- saving rejects to file Documentation/netlink/specs/ethtool.yaml.rej
    1 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
    7 out of 9 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-crd.dts.rej
    7 out of 9 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-qcp.dts.rej
    2 out of 10 hunks FAILED -- saving rejects to file arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi.rej
    1 out of 6 hunks FAILED -- saving rejects to file drivers/ata/libata-scsi.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c.rej
    2 out of 3 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c.rej
    6 out of 6 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c.rej
    1 out of 1 hunk FAILED -- saving rejects to file drivers/gpu/drm/drm_atomic_uapi.c.rej
    2 out of 10 hunks FAILED -- saving rejects to file drivers/net/bonding/bond_main.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file drivers/net/wireless/intel/iwlwifi/mvm/ops.c.rej
    1 out of 6 hunks FAILED -- saving rejects to file drivers/usb/gadget/function/f_midi2.c.rej
    3 out of 7 hunks FAILED -- saving rejects to file fs/btrfs/inode.c.rej
    2 out of 4 hunks FAILED -- saving rejects to file fs/f2fs/file.c.rej
    1 out of 11 hunks FAILED -- saving rejects to file fs/smb/client/smb2pdu.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file net/ipv4/tcp.c.rej
    1 out of 13 hunks FAILED -- saving rejects to file net/mptcp/pm.c.rej
    15 out of 38 hunks FAILED -- saving rejects to file net/mptcp/pm_netlink.c.rej
    2 out of 8 hunks FAILED -- saving rejects to file net/wireless/scan.c.rej
    1 out of 8 hunks FAILED -- saving rejects to file sound/core/seq/seq_ump_convert.c.rej
    1 out of 6 hunks FAILED -- saving rejects to file sound/pci/hda/patch_conexant.c.rej
    4 out of 4 hunks FAILED -- saving rejects to file sound/soc/codecs/cs35l56-shared.c.rej
    1 out of 31 hunks FAILED -- saving rejects to file tools/testing/selftests/net/mptcp/mptcp_join.sh.rej
    Action entre patch
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     sed -i -e "s/SUBLEVEL \= 9/SUBLEVEL \= 0/g" Makefile
    Patch 10: Présence de reject
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    1 out of 2 hunks FAILED -- saving rejects to file Documentation/netlink/specs/ethtool.yaml.rej
    1 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
    4 out of 9 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-crd.dts.rej
    4 out of 9 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-qcp.dts.rej
    1 out of 1 hunk FAILED -- saving rejects to file arch/arm64/kernel/acpi_numa.c.rej
    2 out of 10 hunks FAILED -- saving rejects to file arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi.rej
    1 out of 3 hunks FAILED -- saving rejects to file arch/riscv/kernel/head.S.rej
    1 out of 7 hunks FAILED -- saving rejects to file arch/s390/boot/startup.c.rej
    2 out of 3 hunks FAILED -- saving rejects to file arch/s390/kernel/vmlinux.lds.S.rej
    5 out of 48 hunks FAILED -- saving rejects to file arch/x86/events/intel/core.c.rej
    4 out of 5 hunks FAILED -- saving rejects to file arch/x86/kvm/x86.c.rej
    3 out of 13 hunks FAILED -- saving rejects to file arch/x86/mm/pti.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/android/binder.c.rej
    5 out of 7 hunks FAILED -- saving rejects to file drivers/ata/libata-scsi.c.rej
    2 out of 4 hunks FAILED -- saving rejects to file drivers/ata/pata_macio.c.rej
    2 out of 3 hunks FAILED -- saving rejects to file drivers/base/devres.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file drivers/block/ublk_drv.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/bluetooth/hci_qca.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/clk/qcom/clk-rcg2.c.rej
    24 out of 50 hunks FAILED -- saving rejects to file drivers/clk/qcom/gcc-x1e80100.c.rej
    1 out of 4 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c.rej
    6 out of 11 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/amdgpu/amdgpu_device.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c.rej
    8 out of 9 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c.rej
    2 out of 4 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c.rej
    4 out of 8 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c.rej
    4 out of 26 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c.rej
    6 out of 6 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c.rej
    1 out of 1 hunk FAILED -- saving rejects to file drivers/gpu/drm/drm_atomic_uapi.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/display/intel_display_types.h.rej
    1 out of 6 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/display/intel_dp.c.rej
    1 out of 10 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/display/intel_psr.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/panthor/panthor_sched.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/hwmon/ltc2991.c.rej
    1 out of 5 hunks FAILED -- saving rejects to file drivers/iio/inkern.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file drivers/iommu/intel/iommu.c.rej
    2 out of 4 hunks FAILED -- saving rejects to file drivers/misc/fastrpc.c.rej
    2 out of 3 hunks FAILED -- saving rejects to file drivers/mmc/host/dw_mmc.c.rej
    2 out of 10 hunks FAILED -- saving rejects to file drivers/net/bonding/bond_main.c.rej
    1 out of 4 hunks FAILED -- saving rejects to file drivers/net/can/spi/mcp251xfd/mcp251xfd-ring.c.rej
    1 out of 7 hunks FAILED -- saving rejects to file drivers/net/can/spi/mcp251xfd/mcp251xfd-tef.c.rej
    3 out of 8 hunks FAILED -- saving rejects to file drivers/net/can/spi/mcp251xfd/mcp251xfd.h.rej
    6 out of 10 hunks FAILED -- saving rejects to file drivers/net/dsa/vitesse-vsc73xx-core.c.rej
    3 out of 5 hunks FAILED -- saving rejects to file drivers/net/ethernet/intel/ice/ice_base.c.rej
    13 out of 15 hunks FAILED -- saving rejects to file drivers/net/ethernet/intel/ice/ice_main.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/net/ethernet/intel/igb/igb_main.c.rej
    1 out of 4 hunks FAILED -- saving rejects to file drivers/net/ethernet/mellanox/mlx5/core/en_main.c.rej
    1 out of 5 hunks FAILED -- saving rejects to file drivers/net/ethernet/mellanox/mlx5/core/en_rx.c.rej
    5 out of 9 hunks FAILED -- saving rejects to file drivers/net/ethernet/microsoft/mana/mana_en.c.rej
    2 out of 4 hunks FAILED -- saving rejects to file drivers/net/ethernet/xilinx/xilinx_axienet.h.rej
    3 out of 8 hunks FAILED -- saving rejects to file drivers/net/ethernet/xilinx/xilinx_axienet_main.c.rej
    2 out of 8 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/ath11k/core.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/ath11k/qmi.c.rej
    6 out of 9 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/ath12k/mac.c.rej
    1 out of 4 hunks FAILED -- saving rejects to file drivers/net/wireless/intel/iwlwifi/mvm/mvm.h.rej
    2 out of 5 hunks FAILED -- saving rejects to file drivers/net/wireless/realtek/rtw88/usb.c.rej
    2 out of 12 hunks FAILED -- saving rejects to file drivers/nvme/host/core.c.rej
    2 out of 6 hunks FAILED -- saving rejects to file drivers/nvme/host/pci.c.rej
    5 out of 11 hunks FAILED -- saving rejects to file drivers/pci/controller/dwc/pci-keystone.c.rej
    7 out of 9 hunks FAILED -- saving rejects to file drivers/pci/pci.c.rej
    1 out of 12 hunks FAILED -- saving rejects to file drivers/phy/xilinx/phy-zynqmp.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/platform/x86/amd/pmf/pmf-quirks.c.rej
    2 out of 7 hunks FAILED -- saving rejects to file drivers/spi/spi-fsl-lpspi.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/spi/spi-hisi-kunpeng.c.rej
    3 out of 8 hunks FAILED -- saving rejects to file drivers/ufs/core/ufshcd.c.rej
    1 out of 6 hunks FAILED -- saving rejects to file drivers/usb/gadget/function/f_midi2.c.rej
    7 out of 10 hunks FAILED -- saving rejects to file drivers/xen/privcmd.c.rej
    1 out of 10 hunks FAILED -- saving rejects to file fs/btrfs/ctree.c.rej
    8 out of 17 hunks FAILED -- saving rejects to file fs/btrfs/extent-tree.c.rej
    6 out of 7 hunks FAILED -- saving rejects to file fs/btrfs/file.c.rej
    4 out of 6 hunks FAILED -- saving rejects to file fs/btrfs/qgroup.c.rej
    2 out of 4 hunks FAILED -- saving rejects to file fs/f2fs/file.c.rej
    1 out of 5 hunks FAILED -- saving rejects to file fs/fuse/dev.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file fs/fuse/inode.c.rej
    2 out of 8 hunks FAILED -- saving rejects to file fs/libfs.c.rej
    5 out of 7 hunks FAILED -- saving rejects to file fs/netfs/io.c.rej
    2 out of 4 hunks FAILED -- saving rejects to file fs/nilfs2/segment.c.rej
    1 out of 8 hunks FAILED -- saving rejects to file fs/ntfs3/dir.c.rej
    1 out of 8 hunks FAILED -- saving rejects to file fs/ntfs3/frecord.c.rej
    4 out of 6 hunks FAILED -- saving rejects to file fs/smb/client/cifsfs.c.rej
    4 out of 14 hunks FAILED -- saving rejects to file fs/smb/client/file.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file fs/smb/client/inode.c.rej
    2 out of 5 hunks FAILED -- saving rejects to file fs/smb/client/smb2inode.c.rej
    3 out of 11 hunks FAILED -- saving rejects to file fs/smb/client/smb2ops.c.rej
    6 out of 15 hunks FAILED -- saving rejects to file fs/smb/client/smb2pdu.c.rej
    3 out of 4 hunks FAILED -- saving rejects to file fs/smb/client/trace.h.rej
    2 out of 7 hunks FAILED -- saving rejects to file fs/smb/server/smb2pdu.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file fs/tracefs/event_inode.c.rej
    2 out of 3 hunks FAILED -- saving rejects to file fs/udf/super.c.rej
    1 out of 4 hunks FAILED -- saving rejects to file include/linux/mm.h.rej
    4 out of 7 hunks FAILED -- saving rejects to file include/net/bluetooth/hci_core.h.rej
    2 out of 3 hunks FAILED -- saving rejects to file include/net/mana/mana.h.rej
    1 out of 4 hunks FAILED -- saving rejects to file kernel/bpf/btf.c.rej
    5 out of 7 hunks FAILED -- saving rejects to file kernel/bpf/verifier.c.rej
    3 out of 14 hunks FAILED -- saving rejects to file kernel/cgroup/cpuset.c.rej
    7 out of 13 hunks FAILED -- saving rejects to file kernel/events/core.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file kernel/events/internal.h.rej
    1 out of 2 hunks FAILED -- saving rejects to file kernel/events/ring_buffer.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file kernel/trace/trace.c.rej
    1 out of 5 hunks FAILED -- saving rejects to file kernel/workqueue.c.rej
    2 out of 6 hunks FAILED -- saving rejects to file mm/memcontrol.c.rej
    1 out of 11 hunks FAILED -- saving rejects to file mm/page_alloc.c.rej
    1 out of 6 hunks FAILED -- saving rejects to file mm/vmalloc.c.rej
    7 out of 12 hunks FAILED -- saving rejects to file mm/vmscan.c.rej
    2 out of 6 hunks FAILED -- saving rejects to file net/bluetooth/hci_sync.c.rej
    1 out of 20 hunks FAILED -- saving rejects to file net/bluetooth/mgmt.c.rej
    3 out of 39 hunks FAILED -- saving rejects to file net/bluetooth/smp.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file net/ipv4/tcp.c.rej
    2 out of 5 hunks FAILED -- saving rejects to file net/ipv4/tcp_input.c.rej
    1 out of 13 hunks FAILED -- saving rejects to file net/mptcp/pm.c.rej
    8 out of 38 hunks FAILED -- saving rejects to file net/mptcp/pm_netlink.c.rej
    1 out of 6 hunks FAILED -- saving rejects to file net/sched/sch_netem.c.rej
    4 out of 6 hunks FAILED -- saving rejects to file net/unix/af_unix.c.rej
    1 out of 7 hunks FAILED -- saving rejects to file security/smack/smack_lsm.c.rej
    10 out of 18 hunks FAILED -- saving rejects to file sound/pci/hda/patch_realtek.c.rej
    4 out of 4 hunks FAILED -- saving rejects to file sound/soc/codecs/cs35l56-shared.c.rej
    3 out of 30 hunks FAILED -- saving rejects to file sound/soc/codecs/tas2781-fmwlib.c.rej
    1 out of 31 hunks FAILED -- saving rejects to file tools/testing/selftests/net/mptcp/mptcp_join.sh.rej
    Action entre patch
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     sed -i -e "s/SUBLEVEL \= 10/SUBLEVEL \= 0/g" Makefile
    Patch 11: Présence de rejet
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    1 out of 2 hunks FAILED -- saving rejects to file Documentation/netlink/specs/ethtool.yaml.rej
    1 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
    4 out of 9 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-crd.dts.rej
    4 out of 9 hunks FAILED -- saving rejects to file arch/arm64/boot/dts/qcom/x1e80100-qcp.dts.rej
    1 out of 1 hunk FAILED -- saving rejects to file arch/arm64/kernel/acpi_numa.c.rej
    2 out of 10 hunks FAILED -- saving rejects to file arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi.rej
    1 out of 8 hunks FAILED -- saving rejects to file arch/s390/boot/startup.c.rej
    1 out of 13 hunks FAILED -- saving rejects to file arch/x86/mm/pti.c.rej
    6 out of 7 hunks FAILED -- saving rejects to file drivers/ata/libata-scsi.c.rej
    21 out of 27 hunks FAILED -- saving rejects to file drivers/clk/qcom/gcc-sm8550.c.rej
    3 out of 6 hunks FAILED -- saving rejects to file drivers/cxl/core/region.c.rej
    1 out of 8 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c.rej
    6 out of 6 hunks FAILED -- saving rejects to file drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c.rej
    1 out of 1 hunk FAILED -- saving rejects to file drivers/gpu/drm/drm_atomic_uapi.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file drivers/gpu/drm/xe/xe_gsc.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/gpu/drm/xe/xe_wa.c.rej
    2 out of 10 hunks FAILED -- saving rejects to file drivers/net/bonding/bond_main.c.rej
    1 out of 7 hunks FAILED -- saving rejects to file drivers/net/can/spi/mcp251xfd/mcp251xfd-tef.c.rej
    1 out of 8 hunks FAILED -- saving rejects to file drivers/net/can/spi/mcp251xfd/mcp251xfd.h.rej
    7 out of 10 hunks FAILED -- saving rejects to file drivers/net/dsa/vitesse-vsc73xx-core.c.rej
    2 out of 5 hunks FAILED -- saving rejects to file drivers/net/ethernet/freescale/dpaa/dpaa_eth.c.rej
    1 out of 10 hunks FAILED -- saving rejects to file drivers/net/ethernet/intel/ice/ice_lib.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file drivers/net/ethernet/mellanox/mlx5/core/main.c.rej
    1 out of 5 hunks FAILED -- saving rejects to file drivers/net/usb/ipheth.c.rej
    7 out of 8 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/ath11k/core.c.rej
    1 out of 6 hunks FAILED -- saving rejects to file drivers/nvme/host/pci.c.rej
    2 out of 3 hunks FAILED -- saving rejects to file drivers/perf/riscv_pmu_sbi.c.rej
    1 out of 2 hunks FAILED -- saving rejects to file drivers/platform/x86/amd/pmf/pmf-quirks.c.rej
    2 out of 7 hunks FAILED -- saving rejects to file drivers/spi/spi-fsl-lpspi.c.rej
    1 out of 8 hunks FAILED -- saving rejects to file drivers/ufs/core/ufshcd.c.rej
    1 out of 6 hunks FAILED -- saving rejects to file drivers/usb/gadget/function/f_midi2.c.rej
    5 out of 11 hunks FAILED -- saving rejects to file drivers/usb/typec/ucsi/ucsi.c.rej
    3 out of 10 hunks FAILED -- saving rejects to file drivers/xen/privcmd.c.rej
    1 out of 17 hunks FAILED -- saving rejects to file fs/btrfs/extent-tree.c.rej
    6 out of 7 hunks FAILED -- saving rejects to file fs/btrfs/file.c.rej
    1 out of 9 hunks FAILED -- saving rejects to file fs/btrfs/inode.c.rej
    2 out of 4 hunks FAILED -- saving rejects to file fs/f2fs/file.c.rej
    3 out of 4 hunks FAILED -- saving rejects to file fs/jbd2/recovery.c.rej
    1 out of 7 hunks FAILED -- saving rejects to file fs/netfs/io.c.rej
    2 out of 14 hunks FAILED -- saving rejects to file fs/smb/client/file.c.rej
    1 out of 11 hunks FAILED -- saving rejects to file fs/smb/client/smb2ops.c.rej
    2 out of 15 hunks FAILED -- saving rejects to file fs/smb/client/smb2pdu.c.rej
    3 out of 4 hunks FAILED -- saving rejects to file fs/smb/client/trace.h.rej
    5 out of 12 hunks FAILED -- saving rejects to file fs/smb/server/smb2pdu.c.rej
    1 out of 6 hunks FAILED -- saving rejects to file kernel/trace/trace_kprobe.c.rej
    10 out of 12 hunks FAILED -- saving rejects to file kernel/trace/trace_osnoise.c.rej
    1 out of 5 hunks FAILED -- saving rejects to file net/ipv4/fou_core.c.rej
    1 out of 3 hunks FAILED -- saving rejects to file net/ipv4/tcp.c.rej
    1 out of 13 hunks FAILED -- saving rejects to file net/mptcp/pm.c.rej
    10 out of 40 hunks FAILED -- saving rejects to file net/mptcp/pm_netlink.c.rej
    1 out of 18 hunks FAILED -- saving rejects to file sound/pci/hda/patch_realtek.c.rej
    4 out of 4 hunks FAILED -- saving rejects to file sound/soc/codecs/cs35l56-shared.c.rej
    1 out of 31 hunks FAILED -- saving rejects to file tools/testing/selftests/net/mptcp/mptcp_join.sh.rej

    Action entre patch
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     sed -i -e "s/SUBLEVEL \= 11/SUBLEVEL \= 0/g" Makefile
    Patch 12:
    Action entre patch
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     sed -i -e "s/SUBLEVEL \= 12/SUBLEVEL \= 0/g" Makefile
    Patch 13:
    Action entre patch
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
     sed -i -e "s/SUBLEVEL \= 13/SUBLEVEL \= 0/g" Makefile
    Patch 14:

  10. #10
    Expert confirmé
    Avatar de fred1599
    Homme Profil pro
    Lead Dev Python
    Inscrit en
    Juillet 2006
    Messages
    4 060
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Meurthe et Moselle (Lorraine)

    Informations professionnelles :
    Activité : Lead Dev Python
    Secteur : Arts - Culture

    Informations forums :
    Inscription : Juillet 2006
    Messages : 4 060
    Par défaut
    Vous aviez un message d'erreur avant d'éditer qui était plus parlant, dommage de le retirer...

    L'erreur que vous rencontrez maintenant, error: redefinition of ‘hugepage_flags_enabled’, signifie que la fonction hugepage_flags_enabled est définie deux fois dans le fichier ./include/linux/huge_mm.h. Le compilateur a trouvé une définition à la ligne 141, et une définition précédente à la ligne 129 du même fichier. En C, une fonction ne peut pas être définie plusieurs fois, d'où l'arrêt de la compilation.

    Va falloir mettre la main dans le cambouis, et virer une des fonctions dans huge_mm.h.

    En règle générale on garde la fonction qui sera là plus à jour...
    Celui qui trouve sans chercher est celui qui a longtemps cherché sans trouver.(Bachelard)
    La connaissance s'acquiert par l'expérience, tout le reste n'est que de l'information.(Einstein)

Discussions similaires

  1. Après compilation application sortie de Delphi
    Par Thibautoser dans le forum EDI
    Réponses: 0
    Dernier message: 02/05/2010, 10h48
  2. Compilation noyau et upgrade kernel
    Par Ren's dans le forum RedHat / CentOS / Fedora
    Réponses: 0
    Dernier message: 19/11/2009, 14h13
  3. Cross-compilation application GTK+ pour windows
    Par LM_programme dans le forum Linux
    Réponses: 0
    Dernier message: 04/11/2009, 22h38
  4. Erreur rencontree en compilant application java
    Par djk-inf dans le forum Interfaces Graphiques en Java
    Réponses: 1
    Dernier message: 27/10/2009, 19h05
  5. [Création OS] Comment compiler un bootsector + un kernel ???
    Par Damian dans le forum Programmation d'OS
    Réponses: 3
    Dernier message: 05/07/2005, 22h34

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo